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