validate

abstract suspend fun validate(client: OAuth2Client, idToken: Jwt, parameters: IdTokenValidator.Parameters)

Called when the OAuth2Client receives a Token response.

This should throw an Exception if the token is invalid.

Parameters

client

the OAuth2Client 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.