Config

constructor(idToken: String = "", provider: IDTokenProvider? = null, accessToken: String? = null, nonce: String? = null)(source)

Parameters

idToken

OIDC ID token issued by the specified provider. The iss claim in the ID token must match the supplied provider. Some ID tokens contain an at_hash which require that you provide an access_token value to be accepted properly. If the token contains a nonce claim you must supply the nonce used to obtain the ID token.

provider

The provider of the id token. Only Apple, Google, Facebook and Azure are supported

accessToken

If the ID token contains an at_hash claim, then the hash of this value is compared to the value in the ID token.

nonce

If the ID token contains a nonce claim, then the hash of this value is compared to the value in the ID token.