CredentialBootstrap

object CredentialBootstrap

CredentialBootstrap implements best practices for single Credential use cases.

Other Credentials can be created via the associated CredentialBootstrap.credentialDataSource property.

CredentialBootstrap must be initialized via CredentialBootstrap.initialize before accessing any properties or methods.

Functions

Link copied to clipboard
suspend fun defaultCredential(): Credential

The default Credential associated with the associated CredentialDataSource.

Link copied to clipboard
fun initialize(credentialDataSource: CredentialDataSource)

Properties

Link copied to clipboard
val credentialDataSource: CredentialDataSource

The singleton CredentialDataSource.

Link copied to clipboard
val oidcClient: OidcClient

The singleton OidcClient.