Skip to main content

Session Storage

This guide covers session persistence so users don’t need to re-authenticate on every visit. For the conceptual overview of key sources and persistence, see Key Management. Session State Machine

Built-In Persistence

Configure at SDK initialization. The SDK handles encryption, storage, and retrieval automatically:
With persistence enabled, returning users don’t see wallet popups — the SDK loads stored keys. If unlock is pin or password, authenticate() returns credentialRequired so you can prompt the user. See Authentication — PIN / Password Unlock.

Session State

Check current auth state locally:

Logout

Next Steps