AuthFoundationDefaults

The defaults used in various classes throughout the rest of the SDK.

Properties can be set until they're accessed. If properties are attempted to be set after they've been accessed, an IllegalStateException will be thrown to prevent using incorrect defaults.

Types

Link copied to clipboard
object Encryption

Properties

Link copied to clipboard

The default AccessTokenValidator.

Link copied to clipboard
var cacheFactory: suspend () -> Cache

The default function that returns a singleton instance of Cache.

Link copied to clipboard

The default OidcClock.

Link copied to clipboard

The CoroutineDispatcher which should be used for compute bound tasks.

Link copied to clipboard
var cookieJar: CookieJar

The default CookieJar. By default, this is CookieJar.NO_COOKIES.

Link copied to clipboard

The default DeviceSecretValidator.

Link copied to clipboard

The default EventCoordinator.

Link copied to clipboard

The default IdTokenValidator.

Link copied to clipboard

The CoroutineDispatcher which should be used for IO bound tasks.

Link copied to clipboard

The default wait time until the web login flow is cancelled after receiving empty redirect response from the web browser. This can resolve some issues caused by older devices when invalid redirect results are returned from the older browser. When this is set to a non-zero value, it introduces a delay to all redirects when an error is received.

Link copied to clipboard
var okHttpClientFactory: () -> Call.Factory

The default Call.Factory.

Link copied to clipboard

The default TokenEncryptionHandler for encrypting and decrypting stored Tokens.

Link copied to clipboard

The default function that retuns a singleton instance of TokenStorage.