TokenStorageOptions — @gj-kit/expo-auth
A public type from @gj-kit/expo-auth/storage. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { TokenStorageOptions } from '@gj-kit/expo-auth/storage';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** Options of the platform-neutral `createTokenStorage` factory (design §3.8). */type TokenStorageOptions = { /** * Required — e.g. `'myapp.auth'`. The predecessor leaked its host app name through a * hardcoded prefix; this library refuses to own any default (§4.1-①). Empty or * whitespace-only values throw `AuthError('invalid-key-prefix')` (§4.1-ⓐ). */ readonly keyPrefix: string; /** Persistence mode used before any explicit choice exists. Default `'durable'`. */ readonly defaultPersistence?: TokenPersistence | undefined;};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:
./storage - Source: GitHub