@reactor/auth — authclientoptions
@reactor/auth / AuthClientOptions
Interface: AuthClientOptions
Section titled “Interface: AuthClientOptions”Defined in: types.ts:18
Configuration options for the auth client.
Properties
Section titled “Properties”autoRefresh?
Section titled “autoRefresh?”
optionalautoRefresh?:boolean
Defined in: types.ts:24
Whether to automatically refresh tokens (default: true)
detectSessionInUrl?
Section titled “detectSessionInUrl?”
optionaldetectSessionInUrl?:boolean
Defined in: types.ts:28
Whether to detect sessions from URL (default: true)
persistSession?
Section titled “persistSession?”
optionalpersistSession?:boolean
Defined in: types.ts:26
Whether to persist sessions to storage (default: true)
storage?
Section titled “storage?”
optionalstorage?:any
Defined in: types.ts:20
Storage adapter for session persistence
storageKey?
Section titled “storageKey?”
optionalstorageKey?:string
Defined in: types.ts:22
Storage key for the session (default: ‘reactor.session’)