AuthSnapshot
AuthSnapshot
Defined in: auth-client/src/core/types.ts:189
Snapshot of the client’s reactive state. Framework adapters subscribe to changes and project this into their primitive. Stable identity: unchanged status + claims yields the same object reference so useSyncExternalStore-style hooks don’t re-render unnecessarily.
Properties
claims
claims:
DecodedAccessToken|null
Defined in: auth-client/src/core/types.ts:193
error
error:
Error|null
Defined in: auth-client/src/core/types.ts:195
isImpersonating
isImpersonating:
boolean
Defined in: auth-client/src/core/types.ts:194
ready
ready:
boolean
Defined in: auth-client/src/core/types.ts:191
status
status:
AuthStatus
Defined in: auth-client/src/core/types.ts:190
user
user: {
string;id:string; } |null
Defined in: auth-client/src/core/types.ts:192