validate

abstract suspend fun validate(    oidcClient: OidcClient,     idToken: Jwt,     parameters: IdTokenValidator.Parameters)

Called when the OidcClient receives a Token response.

This should throw an Exception if the token is invalid.

Parameters

oidcClient

the OidcClient that made the Token request.

idToken

the Jwt representing the id token from the Token response.

parameters

the Parameters used to validate the id token.