OidcConfiguration
Deprecated
OidcConfiguration is deprecated in favor of the KMP OAuth2ClientBuilder, which works on Android and JVM. Use OAuth2ClientBuilder.create(issuerUrl, clientId, scope) to build a com.okta.authfoundation.client.kmp.OAuth2Client instead. This class will be removed in a future major release.
Configuration options for an OAuth2Client.
This class is used to define the configuration, as defined in your Okta application settings, that will be used to interact with the OIDC Authorization Server.
Properties
The AccessTokenValidator used to validate the Access Token when tokens are minted.
The CoroutineDispatcher which should be used for compute bound tasks.
The default access scopes required by the client, can be overridden when logging in.
The DeviceSecretValidator used to validate the device secret when tokens are minted.
The .well-known/openid-configuration endpoint associated with the Authorization Server. This is used to fetch the OidcEndpoints.
Optional per-endpoint URL overrides. Non-null fields take precedence over discovery values. When all fields are non-null the discovery document fetch is skipped entirely. See OAuth2EndpointOverrides for details and URL validation rules.
The EventCoordinator which the OAuth2Client should emit events to.
The IdTokenValidator used to validate the Id Token Jwt when tokens are minted.
The CoroutineDispatcher which should be used for IO bound tasks.
The Call.Factory which makes calls to the okta server.
The Call.Factory which makes calls to the okta server.