TokenPersistence — @gj-kit/expo-auth
A public type from @gj-kit/expo-auth. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { TokenPersistence } from '@gj-kit/expo-auth';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Where tokens survive to (design §3.1). * * - `'durable'`: survives restarts and revisits (native SecureStore / web localStorage). * - `'session'`: session-scoped. ⚠ The scope differs per platform (design §7-5): on web it is * the tab (sessionStorage); on native it is the process — tokens live in memory only and a * process restart signs the user out. See the README platform table. */type TokenPersistence = 'durable' | 'session';This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-auth - Version:
0.1.1 - Public entry:
. - Source: GitHub