AuthenticationCoreConfig

constructor(discoveryEndpoint: String? = null, authorizeEndpoint: String? = null, tokenEndpoint: String? = null, userInfoEndpoint: String? = null, logoutEndpoint: String? = null, authnEndpoint: String? = null, redirectUri: String, clientId: String, scope: String, integrityToken: String? = null, googleWebClientId: String? = null, isDevelopment: Boolean? = false)

Parameters

discoveryEndpoint

Discovery endpoint of Asgardeo.

authorizeEndpoint

Authorization endpoint of Asgardeo - optional

tokenEndpoint

Token endpoint of Asgardeo - optional

userInfoEndpoint

User info endpoint of Asgardeo - optional

logoutEndpoint

Logout endpoint of Asgardeo - optional

authnEndpoint

Authentication endpoint of Asgardeo - optional

redirectUri

Redirect uri of the application

clientId

Client id of the application

scope

Scope of the application (ex: openid profile email)

integrityToken

Client attestation integrity token - optional

googleWebClientId

Google web client id - optional This is required when the application needs to authenticate with Google, add the client id of the Google connection that is used to create the connection in Asgardeo.

isDevelopment

The flag to check whether the app is in development mode or not. If true, the LessSecureHttpClient instance will be returned. Otherwise, the default OkHttpClient instance will be returned. Default value is false. It is not recommended to keep this value as false in the production environment.