validate

abstract suspend fun validate(    oidcClient: OidcClient,     accessToken: String,     idToken: Jwt)

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.

accessToken

the access token from the Token response.

idToken

the Jwt representing the id token from the Token response.