[{"data":1,"prerenderedAt":307},["ShallowReactive",2],{"navigation_docs":3,"-api-types":129,"-api-types-surround":302},[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":98,"body":131,"description":295,"extension":296,"links":297,"meta":298,"navigation":299,"path":99,"seo":300,"stem":100,"__hash__":301},"docs/4.api/4.types.md",{"type":132,"value":133,"toc":290},"minimark",[134,230,237,245,251,254,268,272,286],[135,136,141],"pre",{"className":137,"code":138,"language":139,"meta":140,"style":140},"language-ts shiki shiki-themes vitesse-light vitesse-dark vitesse-dark","import type {\n  AuthMeta,\n  AuthMode,\n  AuthRouteRules,\n  AuthSession,\n  AuthUser,\n  RoleName,\n} from '@onmax/nuxt-better-auth'\n","ts","",[142,143,144,160,170,178,186,194,202,210],"code",{"__ignoreMap":140},[145,146,149,153,156],"span",{"class":147,"line":148},"line",1,[145,150,152],{"class":151},"sMxC7","import",[145,154,155],{"class":151}," type",[145,157,159],{"class":158},"s5YmX"," {\n",[145,161,163,167],{"class":147,"line":162},2,[145,164,166],{"class":165},"s6w83","  AuthMeta",[145,168,169],{"class":158},",\n",[145,171,173,176],{"class":147,"line":172},3,[145,174,175],{"class":165},"  AuthMode",[145,177,169],{"class":158},[145,179,181,184],{"class":147,"line":180},4,[145,182,183],{"class":165},"  AuthRouteRules",[145,185,169],{"class":158},[145,187,189,192],{"class":147,"line":188},5,[145,190,191],{"class":165},"  AuthSession",[145,193,169],{"class":158},[145,195,197,200],{"class":147,"line":196},6,[145,198,199],{"class":165},"  AuthUser",[145,201,169],{"class":158},[145,203,205,208],{"class":147,"line":204},7,[145,206,207],{"class":165},"  RoleName",[145,209,169],{"class":158},[145,211,213,216,219,223,227],{"class":147,"line":212},8,[145,214,215],{"class":158},"}",[145,217,218],{"class":151}," from",[145,220,222],{"class":221},"siS8b"," '",[145,224,226],{"class":225},"sTpu4","@onmax/nuxt-better-auth",[145,228,229],{"class":221},"'\n",[231,232,234],"h3",{"id":233},"authmeta",[142,235,236],{},"AuthMeta",[238,239,240,241,244],"p",{},"Used in page meta and ",[142,242,243],{},"routeRules.auth",".",[231,246,248],{"id":247},"authrouterules",[142,249,250],{},"AuthRouteRules",[238,252,253],{},"Extends Nitro route rules with:",[255,256,257,263],"ul",{},[258,259,260],"li",{},[142,261,262],{},"auth?: AuthMeta",[258,264,265],{},[142,266,267],{},"role?: RoleName | RoleName[]",[231,269,271],{"id":270},"module-augmentation","Module augmentation",[238,273,274,275,278,279,282,283,244],{},"Augment ",[142,276,277],{},"AuthUser"," / ",[142,280,281],{},"AuthSession"," by declaring module ",[142,284,285],{},"#nuxt-better-auth",[287,288,289],"style",{},"html pre.shiki code .sMxC7, html code.shiki .sMxC7{--shiki-light:#1E754F;--shiki-default:#4D9375;--shiki-dark:#4D9375}html pre.shiki code .s5YmX, html code.shiki .s5YmX{--shiki-light:#999999;--shiki-default:#666666;--shiki-dark:#666666}html pre.shiki code .s6w83, html code.shiki .s6w83{--shiki-light:#B07D48;--shiki-default:#BD976A;--shiki-dark:#BD976A}html pre.shiki code .siS8b, html code.shiki .siS8b{--shiki-light:#B5695977;--shiki-default:#C98A7D77;--shiki-dark:#C98A7D77}html pre.shiki code .sTpu4, html code.shiki .sTpu4{--shiki-light:#B56959;--shiki-default:#C98A7D;--shiki-dark:#C98A7D}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":140,"searchDepth":162,"depth":162,"links":291},[292,293,294],{"id":233,"depth":172,"text":236},{"id":247,"depth":172,"text":250},{"id":270,"depth":172,"text":271},"Public types and route rule shapes.","md",null,{},true,{"title":98,"description":295},"T2ZwSDBSpnLPXFuVcHwElRyKx9QUCrVbGT1EWPw7Eps",[303,305],{"title":94,"path":95,"stem":96,"description":304,"children":-1},"Built‑in UI helpers.",{"title":107,"path":108,"stem":109,"description":306,"children":-1},"Common issues and fixes.",1765664062429]