Skip to content

Variable: DEFAULTS

Variable: DEFAULTS

const DEFAULTS: object

Defined in: auth-client/src/core/auth-client.ts:106

Default values for AuthClientConfig fields. Exposed so tests can reference the same defaults the constructor uses.

Type Declaration

attachAuthHeader

readonly attachAuthHeader: true = true

autoRetryOn401

readonly autoRetryOn401: true = true

bootstrap

readonly bootstrap: "auto"

enableCrossTabSync

readonly enableCrossTabSync: true = true

refreshLeewaySeconds

readonly refreshLeewaySeconds: 60 = 60

storageNamespace

readonly storageNamespace: "vendidit_auth" = 'vendidit_auth'