[{"data":1,"prerenderedAt":447},["ShallowReactive",2],{"navigation_docs":3,"-api-components":152,"-api-components-surround":442},[4,42,68,110,131],{"title":5,"path":6,"stem":7,"children":8,"icon":11},"Getting Started","/getting-started","1.getting-started/0.index",[9,12,17,22,27,32,37],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-sparkles",{"title":13,"path":14,"stem":15,"icon":16},"Installation","/getting-started/installation","1.getting-started/1.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"Configuration","/getting-started/configuration","1.getting-started/2.configuration","i-lucide-settings",{"title":23,"path":24,"stem":25,"icon":26},"Client Setup","/getting-started/client-setup","1.getting-started/3.client-setup","i-lucide-monitor",{"title":28,"path":29,"stem":30,"icon":31},"Type Augmentation","/getting-started/type-augmentation","1.getting-started/4.type-augmentation","i-lucide-type",{"title":33,"path":34,"stem":35,"icon":36},"Schema Generation (NuxtHub)","/getting-started/schema-generation","1.getting-started/5.schema-generation","i-lucide-database",{"title":38,"path":39,"stem":40,"icon":41},"How It Works","/getting-started/how-it-works","1.getting-started/6.how-it-works","i-lucide-workflow",{"title":43,"path":44,"stem":45,"children":46,"page":67},"Core Concepts","/core-concepts","2.core-concepts",[47,51,55,59,63],{"title":48,"path":49,"stem":50},"serverAuth()","/core-concepts/server-auth","2.core-concepts/1.server-auth",{"title":52,"path":53,"stem":54},"Sessions","/core-concepts/sessions","2.core-concepts/2.sessions",{"title":56,"path":57,"stem":58},"Route Protection","/core-concepts/route-protection","2.core-concepts/3.route-protection",{"title":60,"path":61,"stem":62},"Auto‑Imports and Aliases","/core-concepts/auto-imports-aliases","2.core-concepts/4.auto-imports-aliases",{"title":64,"path":65,"stem":66},"Security & Caveats","/core-concepts/security-caveats","2.core-concepts/5.security-caveats",false,{"title":69,"path":70,"stem":71,"children":72,"page":67},"Guides","/guides","3.guides",[73,77,81,85,89,94,98,102,106],{"title":74,"path":75,"stem":76},"Role‑Based Access","/guides/role-based-access","3.guides/1.role-based-access",{"title":78,"path":79,"stem":80},"OAuth Providers","/guides/oauth-providers","3.guides/2.oauth-providers",{"title":82,"path":83,"stem":84},"Custom Database","/guides/custom-database","3.guides/3.custom-database",{"title":86,"path":87,"stem":88},"Database-less Mode","/guides/database-less-mode","3.guides/4.database-less-mode",{"title":90,"path":91,"stem":92,"icon":93},"External Auth Backend","/guides/external-auth-backend","3.guides/5.external-auth-backend","i-lucide-server",{"title":95,"path":96,"stem":97},"Migrating from nuxt-auth-utils","/guides/migrate-from-nuxt-auth-utils","3.guides/6.migrate-from-nuxt-auth-utils",{"title":99,"path":100,"stem":101},"Two-Factor Authentication (TOTP + Backup Codes)","/guides/two-factor-auth","3.guides/7.two-factor-auth",{"title":103,"path":104,"stem":105},"Testing","/guides/testing","3.guides/8.testing",{"title":107,"path":108,"stem":109},"Production Deployment","/guides/production-deployment","3.guides/9.production-deployment",{"title":111,"path":112,"stem":113,"children":114,"page":67},"Integrations","/integrations","4.integrations",[115,119,123,127],{"title":116,"path":117,"stem":118},"NuxtHub","/integrations/nuxthub","4.integrations/1.nuxthub",{"title":120,"path":121,"stem":122},"DevTools","/integrations/devtools","4.integrations/2.devtools",{"title":124,"path":125,"stem":126},"Convex","/integrations/convex","4.integrations/3.convex",{"title":128,"path":129,"stem":130},"i18n","/integrations/i18n","4.integrations/4.i18n",{"title":132,"path":133,"stem":134,"children":135,"page":67},"API Reference","/api","5.api",[136,140,144,148],{"title":137,"path":138,"stem":139},"Composables","/api/composables","5.api/1.composables",{"title":141,"path":142,"stem":143},"Server Utilities","/api/server-utils","5.api/2.server-utils",{"title":145,"path":146,"stem":147},"Components","/api/components","5.api/3.components",{"title":149,"path":150,"stem":151},"Types","/api/types","5.api/4.types",{"id":153,"title":145,"body":154,"description":435,"extension":436,"links":437,"meta":438,"navigation":439,"path":146,"seo":440,"stem":147,"__hash__":441},"docs/5.api/3.components.md",{"type":155,"value":156,"toc":429},"minimark",[157,161,169,176,183,260,265,319,323,408,425],[158,159,160],"p",{},"Use this page when you need the slot contract and rendering behavior for the built-in UI helper components.",[162,163,165],"h2",{"id":164},"betterauthstate",[166,167,168],"code",{},"\u003CBetterAuthState>",[158,170,171,172,175],{},"Renders once session hydration is complete (",[166,173,174],{},"ready === true",") and exposes state via slots.",[177,178,179,182],"note",{},[166,180,181],{},"BetterAuthState"," is currently the only component provided. Additional components may be added in future versions.",[184,185,191],"pre",{"className":186,"code":187,"filename":188,"language":189,"meta":190,"style":190},"language-vue shiki shiki-themes one-light synthwave-84 synthwave-84","\u003CBetterAuthState>\n  \u003Ctemplate #default=\"{ loggedIn, user, signOut }\">\n    \u003Cp v-if=\"loggedIn\">Hi {{ user?.name }}\u003C/p>\n    \u003Cbutton v-else @click=\"navigateTo('/login')\">Sign in\u003C/button>\n  \u003C/template>\n  \u003Ctemplate #placeholder>\n    \u003Cp>Loading…\u003C/p>\n  \u003C/template>\n\u003C/BetterAuthState>\n","components/AuthWrapper.vue","vue","",[166,192,193,208,215,221,227,233,239,245,250],{"__ignoreMap":190},[194,195,198,202,205],"span",{"class":196,"line":197},"line",1,[194,199,201],{"class":200},"sL9le","\u003C",[194,203,181],{"class":204},"stweg",[194,206,207],{"class":200},">\n",[194,209,211],{"class":196,"line":210},2,[194,212,214],{"class":213},"sEEOt","  \u003Ctemplate #default=\"{ loggedIn, user, signOut }\">\n",[194,216,218],{"class":196,"line":217},3,[194,219,220],{"class":213},"    \u003Cp v-if=\"loggedIn\">Hi {{ user?.name }}\u003C/p>\n",[194,222,224],{"class":196,"line":223},4,[194,225,226],{"class":213},"    \u003Cbutton v-else @click=\"navigateTo('/login')\">Sign in\u003C/button>\n",[194,228,230],{"class":196,"line":229},5,[194,231,232],{"class":213},"  \u003C/template>\n",[194,234,236],{"class":196,"line":235},6,[194,237,238],{"class":213},"  \u003Ctemplate #placeholder>\n",[194,240,242],{"class":196,"line":241},7,[194,243,244],{"class":213},"    \u003Cp>Loading…\u003C/p>\n",[194,246,248],{"class":196,"line":247},8,[194,249,232],{"class":213},[194,251,253,256,258],{"class":196,"line":252},9,[194,254,255],{"class":200},"\u003C/",[194,257,181],{"class":204},[194,259,207],{"class":200},[261,262,264],"h3",{"id":263},"slots","Slots",[266,267,268,284],"table",{},[269,270,271],"thead",{},[272,273,274,278,281],"tr",{},[275,276,277],"th",{},"Slot",[275,279,280],{},"Props",[275,282,283],{},"When",[285,286,287,306],"tbody",{},[272,288,289,295,300],{},[290,291,292],"td",{},[166,293,294],{},"default",[290,296,297],{},[166,298,299],{},"{ loggedIn, user, session, signOut }",[290,301,302,303,305],{},"After session hydration (",[166,304,174],{},")",[272,307,308,313,316],{},[290,309,310],{},[166,311,312],{},"placeholder",[290,314,315],{},"—",[290,317,318],{},"While session is hydrating",[261,320,322],{"id":321},"slot-props","Slot Props",[266,324,325,338],{},[269,326,327],{},[272,328,329,332,335],{},[275,330,331],{},"Prop",[275,333,334],{},"Type",[275,336,337],{},"Description",[285,339,340,358,376,393],{},[272,341,342,347,352],{},[290,343,344],{},[166,345,346],{},"loggedIn",[290,348,349],{},[166,350,351],{},"boolean",[290,353,354,357],{},[166,355,356],{},"true"," if user is authenticated",[272,359,360,365,370],{},[290,361,362],{},[166,363,364],{},"user",[290,366,367],{},[166,368,369],{},"AuthUser | null",[290,371,372,373],{},"Current user object or ",[166,374,375],{},"null",[272,377,378,383,388],{},[290,379,380],{},[166,381,382],{},"session",[290,384,385],{},[166,386,387],{},"AuthSession | null",[290,389,390,391],{},"Current session object or ",[166,392,375],{},[272,394,395,400,405],{},[290,396,397],{},[166,398,399],{},"signOut",[290,401,402],{},[166,403,404],{},"() => Promise\u003Cvoid>",[290,406,407],{},"Sign out the user",[409,410,412,413,416,417,420,421,424],"callout",{"icon":411,"to":138},"i-lucide-info","Need ",[166,414,415],{},"signIn"," / ",[166,418,419],{},"signUp","? Use ",[166,422,423],{},"useUserSession()"," directly.",[426,427,428],"style",{},"html pre.shiki code .sL9le, html code.shiki .sL9le{--shiki-light:#383A42;--shiki-default:#36F9F6;--shiki-dark:#36F9F6}html pre.shiki code .stweg, html code.shiki .stweg{--shiki-light:#E45649;--shiki-default:#72F1B8;--shiki-dark:#72F1B8}html pre.shiki code .sEEOt, html code.shiki .sEEOt{--shiki-light:#383A42;--shiki-default:#FFFFFFEE;--shiki-dark:#FFFFFFEE}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);}",{"title":190,"searchDepth":210,"depth":210,"links":430},[431],{"id":164,"depth":210,"text":168,"children":432},[433,434],{"id":263,"depth":217,"text":264},{"id":321,"depth":217,"text":322},"Built‑in UI helpers.","md",null,{},true,{"title":145,"description":435},"lHDkCfk_54RluhK9oEZ8fK2fLjfj8hNkILivQPD8FRk",[443,445],{"title":141,"path":142,"stem":143,"description":444,"children":-1},"API reference for server-side helpers available in Nitro event handlers.",{"title":149,"path":150,"stem":151,"description":446,"children":-1},"Public types and route rule shapes.",1777451673610]