[{"data":1,"prerenderedAt":1144},["ShallowReactive",2],{"navigation":3,"\u002Fnuxt-module\u002Fcwa-api\u002Fauth":393,"\u002Fnuxt-module\u002Fcwa-api\u002Fauth-surround":1139},[4,14,36,69,144,376],{"title":5,"path":6,"stem":7,"children":8},"Introduction","\u002Fgetting-started","1.getting-started\u002F1.index",[9,10],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":15,"path":16,"stem":17,"children":18,"page":35},"Guides","\u002Fguides","2.guides",[19,23,27,31],{"title":20,"path":21,"stem":22},"Your First Layout","\u002Fguides\u002Fyour-first-layout","2.guides\u002F1.your-first-layout",{"title":24,"path":25,"stem":26},"Your First Page Template","\u002Fguides\u002Fyour-first-page-template","2.guides\u002F2.your-first-page-template",{"title":28,"path":29,"stem":30},"Your First Component","\u002Fguides\u002Fyour-first-component","2.guides\u002F3.your-first-component",{"title":32,"path":33,"stem":34},"Alternative UI Variants","\u002Fguides\u002Falternative-ui-variants","2.guides\u002F4.alternative-ui-variants",false,{"title":37,"path":38,"stem":39,"children":40,"page":35},"Core Concepts","\u002Fcore-concepts","3.core-concepts",[41,45,49,53,57,61,65],{"title":42,"path":43,"stem":44},"How It All Works","\u002Fcore-concepts\u002Farchitecture","3.core-concepts\u002F1.architecture",{"title":46,"path":47,"stem":48},"The Data Model","\u002Fcore-concepts\u002Fthe-data-model","3.core-concepts\u002F2.the-data-model",{"title":50,"path":51,"stem":52},"Layouts & Pages","\u002Fcore-concepts\u002Flayouts-and-pages","3.core-concepts\u002F3.layouts-and-pages",{"title":54,"path":55,"stem":56},"Dynamic Pages","\u002Fcore-concepts\u002Fdynamic-pages","3.core-concepts\u002F4.dynamic-pages",{"title":58,"path":59,"stem":60},"Components","\u002Fcore-concepts\u002Fcomponents","3.core-concepts\u002F5.components",{"title":62,"path":63,"stem":64},"Draft & Publish Workflow","\u002Fcore-concepts\u002Fdraft-and-publish","3.core-concepts\u002F6.draft-and-publish",{"title":66,"path":67,"stem":68},"The Admin Panel","\u002Fcore-concepts\u002Fadmin-panel","3.core-concepts\u002F7.admin-panel",{"title":70,"path":71,"stem":72,"children":73,"page":35},"Api","\u002Fapi","4.api",[74,78,120,124,128,132,136,140],{"title":75,"path":76,"stem":77},"Bundle Setup","\u002Fapi\u002Fbundle-setup","4.api\u002F1.bundle-setup",{"title":58,"path":79,"stem":80,"children":81,"page":35},"\u002Fapi\u002Fcomponents","4.api\u002F2.components",[82,86,107],{"title":83,"path":84,"stem":85},"Creating Components","\u002Fapi\u002Fcomponents\u002Fcreating-components","4.api\u002F2.components\u002F1.creating-components",{"title":87,"path":88,"stem":89,"children":90,"page":35},"Annotations","\u002Fapi\u002Fcomponents\u002Fannotations","4.api\u002F2.components\u002F2.annotations",[91,95,99,103],{"title":92,"path":93,"stem":94},"Publishable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fpublishable","4.api\u002F2.components\u002F2.annotations\u002F1.publishable",{"title":96,"path":97,"stem":98},"Uploadable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fuploadable","4.api\u002F2.components\u002F2.annotations\u002F2.uploadable",{"title":100,"path":101,"stem":102},"Timestamped","\u002Fapi\u002Fcomponents\u002Fannotations\u002Ftimestamped","4.api\u002F2.components\u002F2.annotations\u002F3.timestamped",{"title":104,"path":105,"stem":106},"Explicit Allow Only","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fexplicit-allow-only","4.api\u002F2.components\u002F2.annotations\u002F4.explicit-allow-only",{"title":108,"path":109,"stem":110,"children":111,"page":35},"Built Ins","\u002Fapi\u002Fcomponents\u002Fbuilt-ins","4.api\u002F2.components\u002F3.built-ins",[112,116],{"title":113,"path":114,"stem":115},"Collection Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fcollection-component","4.api\u002F2.components\u002F3.built-ins\u002F1.collection-component",{"title":117,"path":118,"stem":119},"Form Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fform-component","4.api\u002F2.components\u002F3.built-ins\u002F2.form-component",{"title":121,"path":122,"stem":123},"Dynamic & Nested Pages","\u002Fapi\u002Fdynamic-pages","4.api\u002F3.dynamic-pages",{"title":125,"path":126,"stem":127},"Users & Security","\u002Fapi\u002Fusers-and-security","4.api\u002F4.users-and-security",{"title":129,"path":130,"stem":131},"Data Fixtures","\u002Fapi\u002Fdata-fixtures","4.api\u002F5.data-fixtures",{"title":133,"path":134,"stem":135},"Configuration Reference","\u002Fapi\u002Fconfiguration","4.api\u002F6.configuration",{"title":137,"path":138,"stem":139},"Console Commands","\u002Fapi\u002Fconsole-commands","4.api\u002F7.console-commands",{"title":141,"path":142,"stem":143},"Debugging & Profiler","\u002Fapi\u002Fdebugging","4.api\u002F8.debugging",{"title":145,"path":146,"stem":147,"children":148,"page":35},"Nuxt Module","\u002Fnuxt-module","5.nuxt-module",[149,153,157,170,190,211,244,328,352,356],{"title":150,"path":151,"stem":152},"Module Setup","\u002Fnuxt-module\u002Fmodule-setup","5.nuxt-module\u002F1.module-setup",{"title":154,"path":155,"stem":156},"PWA & Offline","\u002Fnuxt-module\u002Fpwa","5.nuxt-module\u002F10.pwa",{"title":158,"path":159,"stem":160,"children":161,"page":35},"Configuration","\u002Fnuxt-module\u002Fconfiguration","5.nuxt-module\u002F2.configuration",[162,166],{"title":163,"path":164,"stem":165},"Nuxt Config","\u002Fnuxt-module\u002Fconfiguration\u002Fnuxt-config","5.nuxt-module\u002F2.configuration\u002F1.nuxt-config",{"title":167,"path":168,"stem":169},"Site Config & SEO","\u002Fnuxt-module\u002Fconfiguration\u002Fsite-config-and-seo","5.nuxt-module\u002F2.configuration\u002F2.site-config-and-seo",{"title":171,"path":172,"stem":173,"children":174,"page":35},"Building Your Ui","\u002Fnuxt-module\u002Fbuilding-your-ui","5.nuxt-module\u002F3.building-your-ui",[175,179,183,186],{"title":176,"path":177,"stem":178},"Layouts","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-layouts","5.nuxt-module\u002F3.building-your-ui\u002F1.creating-layouts",{"title":180,"path":181,"stem":182},"Page Templates","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-page-templates","5.nuxt-module\u002F3.building-your-ui\u002F2.creating-page-templates",{"title":83,"path":184,"stem":185},"\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-components","5.nuxt-module\u002F3.building-your-ui\u002F3.creating-components",{"title":187,"path":188,"stem":189},"CLI Generator","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcwa-cli","5.nuxt-module\u002F3.building-your-ui\u002F4.cwa-cli",{"title":191,"path":192,"stem":193,"children":194,"page":35},"Cwa Components","\u002Fnuxt-module\u002Fcwa-components","5.nuxt-module\u002F4.cwa-components",[195,199,203,207],{"title":196,"path":197,"stem":198},"\u003CCwaComponentGroup \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-component-group","5.nuxt-module\u002F4.cwa-components\u002F1.cwa-component-group",{"title":200,"path":201,"stem":202},"\u003CCwaPage \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-page","5.nuxt-module\u002F4.cwa-components\u002F2.cwa-page",{"title":204,"path":205,"stem":206},"\u003CCwaLink \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-link","5.nuxt-module\u002F4.cwa-components\u002F3.cwa-link",{"title":208,"path":209,"stem":210},"\u003CCwaDefaultLayout \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-default-layout","5.nuxt-module\u002F4.cwa-components\u002F5.cwa-default-layout",{"title":212,"path":213,"stem":214,"children":215,"page":35},"Cwa Api","\u002Fnuxt-module\u002Fcwa-api","5.nuxt-module\u002F5.cwa-api",[216,220,224,228,232,236,240],{"title":217,"path":218,"stem":219},"Overview","\u002Fnuxt-module\u002Fcwa-api\u002Foverview","5.nuxt-module\u002F5.cwa-api\u002F1.overview",{"title":221,"path":222,"stem":223},"Resources","\u002Fnuxt-module\u002Fcwa-api\u002Fresources","5.nuxt-module\u002F5.cwa-api\u002F2.resources",{"title":225,"path":226,"stem":227},"Resources Manager","\u002Fnuxt-module\u002Fcwa-api\u002Fresources-manager","5.nuxt-module\u002F5.cwa-api\u002F3.resources-manager",{"title":229,"path":230,"stem":231},"Auth","\u002Fnuxt-module\u002Fcwa-api\u002Fauth","5.nuxt-module\u002F5.cwa-api\u002F4.auth",{"title":233,"path":234,"stem":235},"Forms","\u002Fnuxt-module\u002Fcwa-api\u002Fforms","5.nuxt-module\u002F5.cwa-api\u002F5.forms",{"title":237,"path":238,"stem":239},"Admin","\u002Fnuxt-module\u002Fcwa-api\u002Fadmin","5.nuxt-module\u002F5.cwa-api\u002F6.admin",{"title":241,"path":242,"stem":243},"Site Config","\u002Fnuxt-module\u002Fcwa-api\u002Fsite-config","5.nuxt-module\u002F5.cwa-api\u002F7.site-config",{"title":245,"path":246,"stem":247,"children":248,"page":35},"Composables","\u002Fnuxt-module\u002Fcomposables","5.nuxt-module\u002F6.composables",[249,257,294,311],{"title":250,"path":251,"stem":252,"children":253,"page":35},"Layout","\u002Fnuxt-module\u002Fcomposables\u002Flayout","5.nuxt-module\u002F6.composables\u002F0.layout",[254],{"title":250,"path":255,"stem":256},"\u002Fnuxt-module\u002Fcomposables\u002Flayout\u002Fuse-cwa-layout","5.nuxt-module\u002F6.composables\u002F0.layout\u002F1.use-cwa-layout",{"title":258,"path":259,"stem":260,"children":261,"page":35},"Component","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent","5.nuxt-module\u002F6.composables\u002F1.component",[262,266,270,274,278,282,286,290],{"title":263,"path":264,"stem":265},"Component (recommended)","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-component","5.nuxt-module\u002F6.composables\u002F1.component\u002F0.use-cwa-component",{"title":267,"path":268,"stem":269},"Resource","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-resource","5.nuxt-module\u002F6.composables\u002F1.component\u002F1.use-cwa-resource",{"title":271,"path":272,"stem":273},"Collection Resource","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-collection-resource","5.nuxt-module\u002F6.composables\u002F1.component\u002F2.use-cwa-collection-resource",{"title":275,"path":276,"stem":277},"File Field","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-file-field","5.nuxt-module\u002F6.composables\u002F1.component\u002F3.use-cwa-file-field",{"title":279,"path":280,"stem":281},"Form","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form","5.nuxt-module\u002F6.composables\u002F1.component\u002F4.use-cwa-form",{"title":283,"path":284,"stem":285},"Form Input","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form-input","5.nuxt-module\u002F6.composables\u002F1.component\u002F5.use-cwa-form-input",{"title":287,"path":288,"stem":289},"Form Repeated","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form-repeated","5.nuxt-module\u002F6.composables\u002F1.component\u002F6.use-cwa-form-repeated",{"title":291,"path":292,"stem":293},"Form Collection","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form-collection","5.nuxt-module\u002F6.composables\u002F1.component\u002F7.use-cwa-form-collection",{"title":295,"path":296,"stem":297,"children":298,"page":35},"Admin Manager","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager","5.nuxt-module\u002F6.composables\u002F2.admin-manager",[299,303,307],{"title":300,"path":301,"stem":302},"Manager Tab","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-manager-tab","5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F1.use-cwa-resource-manager-tab",{"title":304,"path":305,"stem":306},"Resource Model","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-model","5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F2.use-cwa-resource-model",{"title":308,"path":309,"stem":310},"Resource Upload","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-upload","5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F3.use-cwa-resource-upload",{"title":312,"path":313,"stem":314,"children":315,"page":35},"Utilities","\u002Fnuxt-module\u002Fcomposables\u002Futilities","5.nuxt-module\u002F6.composables\u002F3.utilities",[316,320,324],{"title":317,"path":318,"stem":319},"Resource Endpoint","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-endpoint","5.nuxt-module\u002F6.composables\u002F3.utilities\u002F1.use-cwa-resource-endpoint",{"title":321,"path":322,"stem":323},"Query Model","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-query-bound-model","5.nuxt-module\u002F6.composables\u002F3.utilities\u002F2.use-query-bound-model",{"title":325,"path":326,"stem":327},"Resource Route","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-route","5.nuxt-module\u002F6.composables\u002F3.utilities\u002F3.use-cwa-resource-route",{"title":329,"path":330,"stem":331,"children":332,"page":35},"Component Helpers","\u002Fnuxt-module\u002Fcomponent-helpers","5.nuxt-module\u002F7.component-helpers",[333,337,341,345,349],{"title":334,"path":335,"stem":336},"Images & Media","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fimages-and-uploads","5.nuxt-module\u002F7.component-helpers\u002F1.images-and-uploads",{"title":338,"path":339,"stem":340},"Collections & Pagination","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fcollections-and-pagination","5.nuxt-module\u002F7.component-helpers\u002F2.collections-and-pagination",{"title":342,"path":343,"stem":344},"HTML Content","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fhtml-content","5.nuxt-module\u002F7.component-helpers\u002F3.html-content",{"title":346,"path":347,"stem":348},"Real-Time Updates","\u002Fnuxt-module\u002Fcomponent-helpers\u002Freal-time-updates","5.nuxt-module\u002F7.component-helpers\u002F4.real-time-updates",{"title":233,"path":350,"stem":351},"\u002Fnuxt-module\u002Fcomponent-helpers\u002Fforms","5.nuxt-module\u002F7.component-helpers\u002F5.forms",{"title":353,"path":354,"stem":355},"Authentication","\u002Fnuxt-module\u002Fauthentication","5.nuxt-module\u002F8.authentication",{"title":357,"path":358,"stem":359,"children":360,"page":35},"Cwa Layer","\u002Fnuxt-module\u002Fcwa-layer","5.nuxt-module\u002F9.cwa-layer",[361,364,368,372],{"title":217,"path":362,"stem":363},"\u002Fnuxt-module\u002Fcwa-layer\u002Foverview","5.nuxt-module\u002F9.cwa-layer\u002F1.overview",{"title":365,"path":366,"stem":367},"Auth Pages","\u002Fnuxt-module\u002Fcwa-layer\u002Fauth-pages","5.nuxt-module\u002F9.cwa-layer\u002F2.auth-pages",{"title":369,"path":370,"stem":371},"Admin Panel","\u002Fnuxt-module\u002Fcwa-layer\u002Fadmin-panel","5.nuxt-module\u002F9.cwa-layer\u002F3.admin-panel",{"title":373,"path":374,"stem":375},"Styling","\u002Fnuxt-module\u002Fcwa-layer\u002Fstyling","5.nuxt-module\u002F9.cwa-layer\u002F4.styling",{"title":377,"path":378,"stem":379,"children":380,"page":35},"Deployment","\u002Fdeployment","6.deployment",[381,385,389],{"title":382,"path":383,"stem":384},"Docker","\u002Fdeployment\u002Fdocker","6.deployment\u002F1.docker",{"title":386,"path":387,"stem":388},"Kubernetes & Helm","\u002Fdeployment\u002Fkubernetes","6.deployment\u002F2.kubernetes",{"title":390,"path":391,"stem":392},"CI\u002FCD","\u002Fdeployment\u002Fci-cd","6.deployment\u002F3.ci-cd",{"id":394,"title":395,"badge":396,"body":399,"description":1132,"extension":1133,"links":1134,"meta":1135,"navigation":1136,"path":230,"seo":1137,"stem":231,"__hash__":1138},"docs\u002F5.nuxt-module\u002F5.cwa-api\u002F4.auth.md","cwa.auth",{"label":397,"color":398},"Draft","amber",{"type":400,"value":401,"toc":1128},"minimark",[402,406,411,548,580,584,1124],[403,404,405],"p",{},"Authentication state and all user account actions.",[407,408,410],"h2",{"id":409},"state","State",[412,413,418],"pre",{"className":414,"code":415,"language":416,"meta":417,"style":417},"language-ts shiki shiki-themes github-light github-dark material-theme-palenight","cwa.auth.signedIn        \u002F\u002F ComputedRef\u003Cboolean>\ncwa.auth.user            \u002F\u002F CwaUser | undefined — reactive, no .value\ncwa.auth.roles           \u002F\u002F (string | CwaUserRoles)[] | undefined — no .value; undefined when signed out\ncwa.auth.isAdmin         \u002F\u002F ComputedRef\u003Cboolean> — exact match for the ROLE_ADMIN string in the user's roles\ncwa.auth.status          \u002F\u002F ComputedRef\u003CCwaAuthStatus> (0=SIGNED_OUT, 1=LOADING, 2=SIGNED_IN)\ncwa.auth.hasRole('ROLE_ADMIN')  \u002F\u002F boolean — check a specific role\n","ts","",[419,420,421,446,463,480,497,514],"code",{"__ignoreMap":417},[422,423,426,430,434,437,439,442],"span",{"class":424,"line":425},"line",1,[422,427,429],{"class":428},"sPB8G","cwa",[422,431,433],{"class":432},"sOvfz",".",[422,435,436],{"class":428},"auth",[422,438,433],{"class":432},[422,440,441],{"class":428},"signedIn        ",[422,443,445],{"class":444},"sTBSN","\u002F\u002F ComputedRef\u003Cboolean>\n",[422,447,449,451,453,455,457,460],{"class":424,"line":448},2,[422,450,429],{"class":428},[422,452,433],{"class":432},[422,454,436],{"class":428},[422,456,433],{"class":432},[422,458,459],{"class":428},"user            ",[422,461,462],{"class":444},"\u002F\u002F CwaUser | undefined — reactive, no .value\n",[422,464,466,468,470,472,474,477],{"class":424,"line":465},3,[422,467,429],{"class":428},[422,469,433],{"class":432},[422,471,436],{"class":428},[422,473,433],{"class":432},[422,475,476],{"class":428},"roles           ",[422,478,479],{"class":444},"\u002F\u002F (string | CwaUserRoles)[] | undefined — no .value; undefined when signed out\n",[422,481,483,485,487,489,491,494],{"class":424,"line":482},4,[422,484,429],{"class":428},[422,486,433],{"class":432},[422,488,436],{"class":428},[422,490,433],{"class":432},[422,492,493],{"class":428},"isAdmin         ",[422,495,496],{"class":444},"\u002F\u002F ComputedRef\u003Cboolean> — exact match for the ROLE_ADMIN string in the user's roles\n",[422,498,500,502,504,506,508,511],{"class":424,"line":499},5,[422,501,429],{"class":428},[422,503,433],{"class":432},[422,505,436],{"class":428},[422,507,433],{"class":432},[422,509,510],{"class":428},"status          ",[422,512,513],{"class":444},"\u002F\u002F ComputedRef\u003CCwaAuthStatus> (0=SIGNED_OUT, 1=LOADING, 2=SIGNED_IN)\n",[422,515,517,519,521,523,525,529,532,536,540,542,545],{"class":424,"line":516},6,[422,518,429],{"class":428},[422,520,433],{"class":432},[422,522,436],{"class":428},[422,524,433],{"class":432},[422,526,528],{"class":527},"sKpYG","hasRole",[422,530,531],{"class":428},"(",[422,533,535],{"class":534},"seSrl","'",[422,537,539],{"class":538},"sLL54","ROLE_ADMIN",[422,541,535],{"class":534},[422,543,544],{"class":428},")  ",[422,546,547],{"class":444},"\u002F\u002F boolean — check a specific role\n",[549,550,552],"callout",{"icon":551},"i-heroicons-information-circle",[403,553,554,557,558,561,562,565,566,569,570,557,573,576,577,433],{},[419,555,556],{},"user"," and ",[419,559,560],{},"roles"," are plain reactive getters, not refs — reading ",[419,563,564],{},".value"," on them gives ",[419,567,568],{},"undefined",". There is no role hierarchy client-side: ",[419,571,572],{},"isAdmin",[419,574,575],{},"hasRole()"," check for the exact role string in ",[419,578,579],{},"user.roles",[407,581,583],{"id":582},"actions","Actions",[412,585,587],{"className":414,"code":586,"language":416,"meta":417,"style":417},"\u002F\u002F Sign in with username\u002Fpassword\nconst result = await cwa.auth.signIn({ username: 'alice@example.com', password: 'secret' })\nif (result instanceof FetchError) {\n    console.error('Login failed', result.statusCode)\n}\n\n\u002F\u002F Sign out\nawait cwa.auth.signOut()\n\n\u002F\u002F Request a password reset email\nawait cwa.auth.forgotPassword('alice@example.com')\n\n\u002F\u002F Complete a password reset (from link parameters)\nawait cwa.auth.resetPassword({\n    username: 'alice',\n    token: 'abc123',\n    passwords: { first: 'new_password', second: 'new_password' }\n})\n\n\u002F\u002F Verify email address (from link parameters)\nawait cwa.auth.verifyEmail({ username: 'alice', token: 'abc123' })\n\n\u002F\u002F Confirm email address change (from link parameters)\nawait cwa.auth.confirmEmail({ username: 'alice', token: 'abc123', newEmail: 'new@example.com' })\n\n\u002F\u002F Re-send verification email\nawait cwa.auth.resendVerifyEmail('alice')\nawait cwa.auth.resendVerifyNewEmail('alice')\n\n\u002F\u002F Re-hydrate user from the \u002Fme endpoint (e.g. after updating profile)\nawait cwa.auth.refreshUser()\n",[419,588,589,594,665,686,716,721,727,733,753,758,764,790,795,801,821,839,856,895,903,908,914,961,966,972,1032,1037,1043,1069,1095,1100,1106],{"__ignoreMap":417},[422,590,591],{"class":424,"line":425},[422,592,593],{"class":444},"\u002F\u002F Sign in with username\u002Fpassword\n",[422,595,596,600,604,608,612,615,617,619,621,624,626,629,633,636,639,642,644,647,650,652,654,657,659,662],{"class":424,"line":448},[422,597,599],{"class":598},"swB56","const",[422,601,603],{"class":602},"sc2zw"," result",[422,605,607],{"class":606},"sVlFx"," =",[422,609,611],{"class":610},"sm4w6"," await",[422,613,614],{"class":428}," cwa",[422,616,433],{"class":432},[422,618,436],{"class":428},[422,620,433],{"class":432},[422,622,623],{"class":527},"signIn",[422,625,531],{"class":428},[422,627,628],{"class":432},"{",[422,630,632],{"class":631},"sDHlG"," username",[422,634,635],{"class":432},":",[422,637,638],{"class":534}," '",[422,640,641],{"class":538},"alice@example.com",[422,643,535],{"class":534},[422,645,646],{"class":432},",",[422,648,649],{"class":631}," password",[422,651,635],{"class":432},[422,653,638],{"class":534},[422,655,656],{"class":538},"secret",[422,658,535],{"class":534},[422,660,661],{"class":432}," }",[422,663,664],{"class":428},")\n",[422,666,667,670,673,676,680,683],{"class":424,"line":465},[422,668,669],{"class":610},"if",[422,671,672],{"class":428}," (result ",[422,674,675],{"class":606},"instanceof",[422,677,679],{"class":678},"sRCss"," FetchError",[422,681,682],{"class":428},") ",[422,684,685],{"class":432},"{\n",[422,687,688,691,693,696,698,700,703,705,707,709,711,714],{"class":424,"line":482},[422,689,690],{"class":428},"    console",[422,692,433],{"class":432},[422,694,695],{"class":527},"error",[422,697,531],{"class":631},[422,699,535],{"class":534},[422,701,702],{"class":538},"Login failed",[422,704,535],{"class":534},[422,706,646],{"class":432},[422,708,603],{"class":428},[422,710,433],{"class":432},[422,712,713],{"class":428},"statusCode",[422,715,664],{"class":631},[422,717,718],{"class":424,"line":499},[422,719,720],{"class":432},"}\n",[422,722,723],{"class":424,"line":516},[422,724,726],{"emptyLinePlaceholder":725},true,"\n",[422,728,730],{"class":424,"line":729},7,[422,731,732],{"class":444},"\u002F\u002F Sign out\n",[422,734,736,739,741,743,745,747,750],{"class":424,"line":735},8,[422,737,738],{"class":610},"await",[422,740,614],{"class":428},[422,742,433],{"class":432},[422,744,436],{"class":428},[422,746,433],{"class":432},[422,748,749],{"class":527},"signOut",[422,751,752],{"class":428},"()\n",[422,754,756],{"class":424,"line":755},9,[422,757,726],{"emptyLinePlaceholder":725},[422,759,761],{"class":424,"line":760},10,[422,762,763],{"class":444},"\u002F\u002F Request a password reset email\n",[422,765,767,769,771,773,775,777,780,782,784,786,788],{"class":424,"line":766},11,[422,768,738],{"class":610},[422,770,614],{"class":428},[422,772,433],{"class":432},[422,774,436],{"class":428},[422,776,433],{"class":432},[422,778,779],{"class":527},"forgotPassword",[422,781,531],{"class":428},[422,783,535],{"class":534},[422,785,641],{"class":538},[422,787,535],{"class":534},[422,789,664],{"class":428},[422,791,793],{"class":424,"line":792},12,[422,794,726],{"emptyLinePlaceholder":725},[422,796,798],{"class":424,"line":797},13,[422,799,800],{"class":444},"\u002F\u002F Complete a password reset (from link parameters)\n",[422,802,804,806,808,810,812,814,817,819],{"class":424,"line":803},14,[422,805,738],{"class":610},[422,807,614],{"class":428},[422,809,433],{"class":432},[422,811,436],{"class":428},[422,813,433],{"class":432},[422,815,816],{"class":527},"resetPassword",[422,818,531],{"class":428},[422,820,685],{"class":432},[422,822,824,827,829,831,834,836],{"class":424,"line":823},15,[422,825,826],{"class":631},"    username",[422,828,635],{"class":432},[422,830,638],{"class":534},[422,832,833],{"class":538},"alice",[422,835,535],{"class":534},[422,837,838],{"class":432},",\n",[422,840,842,845,847,849,852,854],{"class":424,"line":841},16,[422,843,844],{"class":631},"    token",[422,846,635],{"class":432},[422,848,638],{"class":534},[422,850,851],{"class":538},"abc123",[422,853,535],{"class":534},[422,855,838],{"class":432},[422,857,859,862,864,867,870,872,874,877,879,881,884,886,888,890,892],{"class":424,"line":858},17,[422,860,861],{"class":631},"    passwords",[422,863,635],{"class":432},[422,865,866],{"class":432}," {",[422,868,869],{"class":631}," first",[422,871,635],{"class":432},[422,873,638],{"class":534},[422,875,876],{"class":538},"new_password",[422,878,535],{"class":534},[422,880,646],{"class":432},[422,882,883],{"class":631}," second",[422,885,635],{"class":432},[422,887,638],{"class":534},[422,889,876],{"class":538},[422,891,535],{"class":534},[422,893,894],{"class":432}," }\n",[422,896,898,901],{"class":424,"line":897},18,[422,899,900],{"class":432},"}",[422,902,664],{"class":428},[422,904,906],{"class":424,"line":905},19,[422,907,726],{"emptyLinePlaceholder":725},[422,909,911],{"class":424,"line":910},20,[422,912,913],{"class":444},"\u002F\u002F Verify email address (from link parameters)\n",[422,915,917,919,921,923,925,927,930,932,934,936,938,940,942,944,946,949,951,953,955,957,959],{"class":424,"line":916},21,[422,918,738],{"class":610},[422,920,614],{"class":428},[422,922,433],{"class":432},[422,924,436],{"class":428},[422,926,433],{"class":432},[422,928,929],{"class":527},"verifyEmail",[422,931,531],{"class":428},[422,933,628],{"class":432},[422,935,632],{"class":631},[422,937,635],{"class":432},[422,939,638],{"class":534},[422,941,833],{"class":538},[422,943,535],{"class":534},[422,945,646],{"class":432},[422,947,948],{"class":631}," token",[422,950,635],{"class":432},[422,952,638],{"class":534},[422,954,851],{"class":538},[422,956,535],{"class":534},[422,958,661],{"class":432},[422,960,664],{"class":428},[422,962,964],{"class":424,"line":963},22,[422,965,726],{"emptyLinePlaceholder":725},[422,967,969],{"class":424,"line":968},23,[422,970,971],{"class":444},"\u002F\u002F Confirm email address change (from link parameters)\n",[422,973,975,977,979,981,983,985,988,990,992,994,996,998,1000,1002,1004,1006,1008,1010,1012,1014,1016,1019,1021,1023,1026,1028,1030],{"class":424,"line":974},24,[422,976,738],{"class":610},[422,978,614],{"class":428},[422,980,433],{"class":432},[422,982,436],{"class":428},[422,984,433],{"class":432},[422,986,987],{"class":527},"confirmEmail",[422,989,531],{"class":428},[422,991,628],{"class":432},[422,993,632],{"class":631},[422,995,635],{"class":432},[422,997,638],{"class":534},[422,999,833],{"class":538},[422,1001,535],{"class":534},[422,1003,646],{"class":432},[422,1005,948],{"class":631},[422,1007,635],{"class":432},[422,1009,638],{"class":534},[422,1011,851],{"class":538},[422,1013,535],{"class":534},[422,1015,646],{"class":432},[422,1017,1018],{"class":631}," newEmail",[422,1020,635],{"class":432},[422,1022,638],{"class":534},[422,1024,1025],{"class":538},"new@example.com",[422,1027,535],{"class":534},[422,1029,661],{"class":432},[422,1031,664],{"class":428},[422,1033,1035],{"class":424,"line":1034},25,[422,1036,726],{"emptyLinePlaceholder":725},[422,1038,1040],{"class":424,"line":1039},26,[422,1041,1042],{"class":444},"\u002F\u002F Re-send verification email\n",[422,1044,1046,1048,1050,1052,1054,1056,1059,1061,1063,1065,1067],{"class":424,"line":1045},27,[422,1047,738],{"class":610},[422,1049,614],{"class":428},[422,1051,433],{"class":432},[422,1053,436],{"class":428},[422,1055,433],{"class":432},[422,1057,1058],{"class":527},"resendVerifyEmail",[422,1060,531],{"class":428},[422,1062,535],{"class":534},[422,1064,833],{"class":538},[422,1066,535],{"class":534},[422,1068,664],{"class":428},[422,1070,1072,1074,1076,1078,1080,1082,1085,1087,1089,1091,1093],{"class":424,"line":1071},28,[422,1073,738],{"class":610},[422,1075,614],{"class":428},[422,1077,433],{"class":432},[422,1079,436],{"class":428},[422,1081,433],{"class":432},[422,1083,1084],{"class":527},"resendVerifyNewEmail",[422,1086,531],{"class":428},[422,1088,535],{"class":534},[422,1090,833],{"class":538},[422,1092,535],{"class":534},[422,1094,664],{"class":428},[422,1096,1098],{"class":424,"line":1097},29,[422,1099,726],{"emptyLinePlaceholder":725},[422,1101,1103],{"class":424,"line":1102},30,[422,1104,1105],{"class":444},"\u002F\u002F Re-hydrate user from the \u002Fme endpoint (e.g. after updating profile)\n",[422,1107,1109,1111,1113,1115,1117,1119,1122],{"class":424,"line":1108},31,[422,1110,738],{"class":610},[422,1112,614],{"class":428},[422,1114,433],{"class":432},[422,1116,436],{"class":428},[422,1118,433],{"class":432},[422,1120,1121],{"class":527},"refreshUser",[422,1123,752],{"class":428},[1125,1126,1127],"style",{},"html pre.shiki code .sPB8G, html code.shiki .sPB8G{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#BABED8}html pre.shiki code .sOvfz, html code.shiki .sOvfz{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#89DDFF}html pre.shiki code .sTBSN, html code.shiki .sTBSN{--shiki-light:#6A737D;--shiki-light-font-style:inherit;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sKpYG, html code.shiki .sKpYG{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#82AAFF}html pre.shiki code .seSrl, html code.shiki .seSrl{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#89DDFF}html pre.shiki code .sLL54, html code.shiki .sLL54{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .swB56, html code.shiki .swB56{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#C792EA}html pre.shiki code .sc2zw, html code.shiki .sc2zw{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#BABED8}html pre.shiki code .sVlFx, html code.shiki .sVlFx{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#89DDFF}html pre.shiki code .sm4w6, html code.shiki .sm4w6{--shiki-light:#D73A49;--shiki-light-font-style:inherit;--shiki-default:#F97583;--shiki-default-font-style:inherit;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sDHlG, html code.shiki .sDHlG{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#F07178}html pre.shiki code .sRCss, html code.shiki .sRCss{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#FFCB6B}",{"title":417,"searchDepth":448,"depth":448,"links":1129},[1130,1131],{"id":409,"depth":448,"text":410},{"id":582,"depth":448,"text":583},"Authentication state and all user account actions — sign in, sign out, password reset, and email verification.","md",null,{},{"title":229},{"title":395,"description":1132},"4h6XArDXBNkL4Gt-kuj2oWy2-fXEZsLhcOEKDgamlw0",[1140,1142],{"title":225,"path":226,"stem":227,"description":1141,"children":-1},"CRUD operations on resources — create, update, delete, save, and error management.",{"title":233,"path":234,"stem":235,"description":1143,"children":-1},"Access the structured form view data and field errors for Form component resources.",1786542480093]