Properties
Optional autoRefreshToken
autoRefreshToken?: boolean
Optional debug
debug?: boolean | ((message: string, ...args: any[]) => void)
Optional detectSessionInUrl
detectSessionInUrl?: boolean
Optional fetch
fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>)
Type declaration
- (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
Parameters
input: RequestInfo | URL
Optional init: RequestInit
Returns Promise<Response>
Optional hasCustomAuthorizationHeader
hasCustomAuthorizationHeader?: boolean
Optional headers
headers?: {}
Optional persistSession
persistSession?: boolean
Optional storageKey
storageKey?: string
Set to "true" if there is a custom authorization header set globally.