API Reference — @tuwaio/siwx (CAIP-122 Authentication Layer)
SiwxSessionState
Defined in: packages/siwx-react/src/sessionStore.ts:30
The shape of the siwx session Zustand store state.
Properties
error
error:
string|null
Defined in: packages/siwx-react/src/sessionStore.ts:36
The last error message, present when status is ‘error’.
session
session:
SiwxClientSession|null
Defined in: packages/siwx-react/src/sessionStore.ts:34
The active session, present when status is ‘authenticated’.
status
status:
SiwxStatus
Defined in: packages/siwx-react/src/sessionStore.ts:32
Current authentication status.
Last updated on