[{"data":1,"prerenderedAt":265},["ShallowReactive",2],{"navigation_docs":3,"-core-concepts-auto-imports-aliases":129,"-core-concepts-auto-imports-aliases-surround":260},[4,34,63,80,101,110],{"title":5,"path":6,"stem":7,"children":8,"page":33},"Getting Started","/getting-started","1.getting-started",[9,13,17,21,25,29],{"title":10,"path":11,"stem":12},"Quickstart","/getting-started/quickstart","1.getting-started/0.quickstart",{"title":14,"path":15,"stem":16},"Installation","/getting-started/installation","1.getting-started/1.installation",{"title":18,"path":19,"stem":20},"Server Configuration","/getting-started/configuration","1.getting-started/2.configuration",{"title":22,"path":23,"stem":24},"Client Setup","/getting-started/client-setup","1.getting-started/3.client-setup",{"title":26,"path":27,"stem":28},"Type Augmentation","/getting-started/type-augmentation","1.getting-started/4.type-augmentation",{"title":30,"path":31,"stem":32},"Schema Generation","/getting-started/schema-generation","1.getting-started/5.schema-generation",false,{"title":35,"path":36,"stem":37,"children":38,"page":33},"Core Concepts","/core-concepts","2.core-concepts",[39,43,47,51,55,59],{"title":40,"path":41,"stem":42},"How It Works","/core-concepts/how-it-works","2.core-concepts/0.how-it-works",{"title":44,"path":45,"stem":46},"`serverAuth()`","/core-concepts/server-auth","2.core-concepts/1.server-auth",{"title":48,"path":49,"stem":50},"Sessions","/core-concepts/sessions","2.core-concepts/2.sessions",{"title":52,"path":53,"stem":54},"Route Protection","/core-concepts/route-protection","2.core-concepts/3.route-protection",{"title":56,"path":57,"stem":58},"Auto‑Imports and Aliases","/core-concepts/auto-imports-aliases","2.core-concepts/4.auto-imports-aliases",{"title":60,"path":61,"stem":62},"Security & Caveats","/core-concepts/security-caveats","2.core-concepts/5.security-caveats",{"title":64,"path":65,"stem":66,"children":67,"page":33},"Guides","/guides","3.guides",[68,72,76],{"title":69,"path":70,"stem":71},"Role‑Based Access","/guides/role-based-access","3.guides/1.role-based-access",{"title":73,"path":74,"stem":75},"Protecting API Routes","/guides/api-protection","3.guides/2.api-protection",{"title":77,"path":78,"stem":79},"Database Dialects","/guides/custom-dialects","3.guides/3.custom-dialects",{"title":81,"path":82,"stem":83,"children":84,"page":33},"API Reference","/api","4.api",[85,89,93,97],{"title":86,"path":87,"stem":88},"Composables","/api/composables","4.api/1.composables",{"title":90,"path":91,"stem":92},"Server Utilities","/api/server-utils","4.api/2.server-utils",{"title":94,"path":95,"stem":96},"Components","/api/components","4.api/3.components",{"title":98,"path":99,"stem":100},"Types","/api/types","4.api/4.types",{"title":102,"path":103,"stem":104,"children":105,"page":33},"Troubleshooting","/troubleshooting","5.troubleshooting",[106],{"title":107,"path":108,"stem":109},"FAQ","/troubleshooting/faq","5.troubleshooting/1.faq",{"title":111,"path":112,"stem":113,"children":114},"Better Auth","/better-auth","6.better-auth",[115,117,121,125],{"title":111,"path":112,"stem":116},"6.better-auth/index",{"title":118,"path":119,"stem":120},"OAuth & Social Providers","/better-auth/oauth","6.better-auth/1.oauth",{"title":122,"path":123,"stem":124},"Plugins","/better-auth/plugins","6.better-auth/2.plugins",{"title":126,"path":127,"stem":128},"Client Plugins (Exports)","/better-auth/client-plugins","6.better-auth/3.client-plugins",{"id":130,"title":56,"body":131,"description":253,"extension":254,"links":255,"meta":256,"navigation":257,"path":57,"seo":258,"stem":58,"__hash__":259},"docs/2.core-concepts/4.auto-imports-aliases.md",{"type":132,"value":133,"toc":247},"minimark",[134,139,146,156,161,178,182,189,193],[135,136,138],"h2",{"id":137},"autoimports","Auto‑imports",[140,141,142],"p",{},[143,144,145],"strong",{},"Client",[147,148,149],"ul",{},[150,151,152],"li",{},[153,154,155],"code",{},"useUserSession()",[140,157,158],{},[143,159,160],{},"Server",[147,162,163,168,173],{},[150,164,165],{},[153,166,167],{},"serverAuth()",[150,169,170],{},[153,171,172],{},"getUserSession(event)",[150,174,175],{},[153,176,177],{},"requireUserSession(event, { role? })",[140,179,180],{},[143,181,94],{},[147,183,184],{},[150,185,186],{},[153,187,188],{},"\u003CBetterAuthState>",[135,190,192],{"id":191},"aliases","Aliases",[194,195,196,209],"table",{},[197,198,199],"thead",{},[200,201,202,206],"tr",{},[203,204,205],"th",{},"Alias",[203,207,208],{},"Points to",[210,211,212,225,237],"tbody",{},[200,213,214,220],{},[215,216,217],"td",{},[153,218,219],{},"#auth/server",[215,221,222],{},[153,223,224],{},"server/auth.config.ts",[200,226,227,232],{},[215,228,229],{},[153,230,231],{},"#auth/client",[215,233,234],{},[153,235,236],{},"app/auth.client.ts",[200,238,239,244],{},[215,240,241],{},[153,242,243],{},"#nuxt-better-auth",[215,245,246],{},"Type augmentation entry",{"title":248,"searchDepth":249,"depth":249,"links":250},"",2,[251,252],{"id":137,"depth":249,"text":138},{"id":191,"depth":249,"text":192},"What the module registers for you.","md",null,{},true,{"title":56,"description":253},"CtKXOosSJM4g2cYDoh52kXqgbrwH09xzvR-h_dIgmj8",[261,263],{"title":52,"path":53,"stem":54,"description":262,"children":-1},"Protect pages with route rules or meta.",{"title":60,"path":61,"stem":62,"description":264,"children":-1},"What is enforced where, and what you should not assume.",1765664061714]