[{"data":1,"prerenderedAt":333},["ShallowReactive",2],{"navigation_docs":3,"-reference-faq":189,"-reference-faq-surround":328},[4,30,65,105,120,135,164,184],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting started",false,"/getting-started","1.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","/getting-started/introduction","1.getting-started/1.introduction","i-lucide-book-open",{"title":16,"path":17,"stem":18,"icon":19},"Installation","/getting-started/installation","1.getting-started/2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Quick start","/getting-started/quick-start","1.getting-started/3.quick-start","i-lucide-rocket",{"title":26,"path":27,"stem":28,"icon":29},"Session Lab","/getting-started/session-lab","1.getting-started/4.session-lab","i-lucide-flask-conical",{"title":31,"icon":6,"path":32,"stem":33,"children":34,"page":6},"Concepts","/concepts","2.concepts",[35,40,45,50,55,60],{"title":36,"path":37,"stem":38,"icon":39},"How it works","/concepts/how-it-works","2.concepts/1.how-it-works","i-lucide-workflow",{"title":41,"path":42,"stem":43,"icon":44},"Sessions and tokens","/concepts/sessions-and-tokens","2.concepts/2.sessions-and-tokens","i-lucide-key-round",{"title":46,"path":47,"stem":48,"icon":49},"State and events","/concepts/state-and-events","2.concepts/3.state-and-events","i-lucide-radio",{"title":51,"path":52,"stem":53,"icon":54},"Token refresh","/concepts/token-refresh","2.concepts/4.token-refresh","i-lucide-refresh-cw",{"title":56,"path":57,"stem":58,"icon":59},"Storage","/concepts/storage","2.concepts/5.storage","i-lucide-hard-drive",{"title":61,"path":62,"stem":63,"icon":64},"Guarantees","/concepts/guarantees","2.concepts/6.guarantees","i-lucide-shield-check",{"title":66,"icon":6,"path":67,"stem":68,"children":69,"page":6},"Providers","/providers","3.providers",[70,75,80,85,90,95,100],{"title":71,"path":72,"stem":73,"icon":74},"Choosing a provider","/providers/choosing","3.providers/1.choosing","i-lucide-signpost",{"title":76,"path":77,"stem":78,"icon":79},"Credentials","/providers/credentials","3.providers/2.credentials","i-lucide-user-round-key",{"title":81,"path":82,"stem":83,"icon":84},"OAuth 2.0 and OpenID Connect","/providers/oauth2","3.providers/3.oauth2","i-lucide-shield",{"title":86,"path":87,"stem":88,"icon":89},"OAuth through your backend","/providers/backend-oauth","3.providers/4.backend-oauth","i-lucide-server",{"title":91,"path":92,"stem":93,"icon":94},"Google","/providers/google","3.providers/5.google","i-simple-icons-google",{"title":96,"path":97,"stem":98,"icon":99},"Apple","/providers/apple","3.providers/6.apple","i-simple-icons-apple",{"title":101,"path":102,"stem":103,"icon":104},"Custom providers","/providers/custom","3.providers/7.custom","i-lucide-puzzle",{"title":106,"icon":6,"path":107,"stem":108,"children":109,"page":6},"Flutter","/flutter","4.flutter",[110,115],{"title":111,"path":112,"stem":113,"icon":114},"Widgets","/flutter/widgets","4.flutter/1.widgets","i-lucide-layout-template",{"title":116,"path":117,"stem":118,"icon":119},"Routing","/flutter/routing","4.flutter/2.routing","i-lucide-route",{"title":121,"icon":6,"path":122,"stem":123,"children":124,"page":6},"HTTP","/http","5.http",[125,130],{"title":126,"path":127,"stem":128,"icon":129},"Dio","/http/dio","5.http/1.dio","i-lucide-arrow-left-right",{"title":131,"path":132,"stem":133,"icon":134},"Other HTTP clients","/http/other-clients","5.http/2.other-clients","i-lucide-plug-zap",{"title":136,"icon":6,"path":137,"stem":138,"children":139,"page":6},"Guides","/guides","6.guides",[140,145,150,155,159],{"title":141,"path":142,"stem":143,"icon":144},"Multiple accounts","/guides/multi-account","6.guides/1.multi-account","i-lucide-users",{"title":146,"path":147,"stem":148,"icon":149},"Sign-out and revocation","/guides/sign-out","6.guides/2.sign-out","i-lucide-log-out",{"title":151,"path":152,"stem":153,"icon":154},"Access policy","/guides/access-policy","6.guides/3.access-policy","i-lucide-shield-alert",{"title":156,"path":157,"stem":158,"icon":29},"Testing","/guides/testing","6.guides/4.testing",{"title":160,"path":161,"stem":162,"icon":163},"Backend requirements","/guides/backend-requirements","6.guides/5.backend-requirements","i-lucide-server-cog",{"title":165,"icon":6,"path":166,"stem":167,"children":168,"page":6},"Reference","/reference","7.reference",[169,174,179],{"title":170,"path":171,"stem":172,"icon":173},"API reference","/reference/api","7.reference/1.api","i-lucide-library",{"title":175,"path":176,"stem":177,"icon":178},"FAQ","/reference/faq","7.reference/2.faq","i-lucide-message-circle-question",{"title":180,"path":181,"stem":182,"icon":183},"Troubleshooting","/reference/troubleshooting","7.reference/3.troubleshooting","i-lucide-wrench",{"title":185,"path":186,"stem":187,"icon":188},"Changelog","/changelog","changelog","i-lucide-history",{"id":190,"title":175,"body":191,"description":321,"extension":322,"links":323,"meta":324,"navigation":325,"path":176,"seo":326,"stem":177,"__hash__":327},"docs/7.reference/2.faq.md",{"type":192,"value":193,"toc":308},"minimark",[194,199,217,221,235,239,246,250,257,261,276,280,283,287,290,294,297,301],[195,196,198],"h2",{"id":197},"should-i-use-authyra-with-firebase-auth-or-supabase-auth","Should I use Authyra with Firebase Auth or Supabase Auth?",[200,201,202,203,207,208,212,213,216],"p",{},"Not for the session they manage: their SDKs already persist and refresh it. Authyra helps when ",[204,205,206],"strong",{},"your own API"," issues tokens. You can still use ",[209,210,211],"code",{},"GoogleProvider()"," or ",[209,214,215],{},"AppleProvider()"," in identity-only mode to obtain a credential for one of those SDKs.",[195,218,220],{"id":219},"does-it-work-on-the-web","Does it work on the web?",[200,222,223,224,227,228,227,231,234],{},"Yes. The core, ",[209,225,226],{},"authyra_dio",", ",[209,229,230],{},"OAuth2Provider",[209,232,233],{},"BackendOAuthProvider"," and both native providers support the web. Browser storage is not a secure enclave: any script running on your origin can read tokens, so keep access tokens short-lived.",[195,236,238],{"id":237},"does-it-refresh-in-the-background","Does it refresh in the background?",[200,240,241,242,245],{},"While the app runs, the active session is refreshed on a timer. Mobile operating systems suspend timers in the background; ",[209,243,244],{},"AuthyraScope"," refreshes on resume instead. Authyra does not schedule OS background tasks.",[195,247,249],{"id":248},"can-two-isolates-or-processes-share-a-session","Can two isolates or processes share a session?",[200,251,252,253,256],{},"Coordination happens inside one ",[209,254,255],{},"Authyra"," instance. An app extension, a background isolate or a second browser tab that refreshes the same refresh token can race with it. Give one of them ownership of refresh, or let your server tolerate a short reuse window.",[195,258,260],{"id":259},"does-it-work-with-bloc-riverpod-or-provider","Does it work with BLoC, Riverpod or Provider?",[200,262,263,264,267,268,271,272,275],{},"Yes. ",[209,265,266],{},"authyra.states"," is a plain stream and ",[209,269,270],{},"AuthStateListenable"," a ",[209,273,274],{},"ValueListenable",". Expose them through your state management of choice; there is nothing to adapt.",[195,277,279],{"id":278},"why-are-google-and-apple-separate-packages","Why are Google and Apple separate packages?",[200,281,282],{},"They depend on native SDKs. An app that does not use them should not have to compile them.",[195,284,286],{"id":285},"why-no-deep-link-handling-for-oauth","Why no deep-link handling for OAuth?",[200,288,289],{},"The secure browser session returns the redirect URL to the call that opened it. There is nothing to route, no global handler, and no way for one sign-in to receive another one's redirect.",[195,291,293],{"id":292},"does-authyra-validate-jwts","Does Authyra validate JWTs?",[200,295,296],{},"No. A token's signature can only be trusted when verified by a party that holds the right keys and cannot be tampered with: your server. On the device, Authyra reads expiry from what your provider returns.",[195,298,300],{"id":299},"is-it-production-ready","Is it production ready?",[200,302,303,304,307],{},"The API is pre-1.0 and may still change between minor versions, with every change listed in the changelog. The behaviors on the ",[305,306,61],"a",{"href":62}," page are covered by tests.",{"title":309,"searchDepth":310,"depth":310,"links":311},"",2,[312,313,314,315,316,317,318,319,320],{"id":197,"depth":310,"text":198},{"id":219,"depth":310,"text":220},{"id":237,"depth":310,"text":238},{"id":248,"depth":310,"text":249},{"id":259,"depth":310,"text":260},{"id":278,"depth":310,"text":279},{"id":285,"depth":310,"text":286},{"id":292,"depth":310,"text":293},{"id":299,"depth":310,"text":300},"Common questions about Authyra's scope and design.","md",null,{},{"icon":178},{"title":175,"description":321},"m3QU0AC2Hfk9HP2obz6ckNXjA94Z9kKAW6sItALfZzE",[329,331],{"title":170,"path":171,"stem":172,"description":330,"icon":173,"children":-1},"The full API documentation of each package, and the members you use most.",{"title":180,"path":181,"stem":182,"description":332,"icon":183,"children":-1},"Symptoms, causes and fixes.",1794303130866]