validate

abstract suspend fun validate(    oidcClient: OidcClient,     deviceSecret: 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.

deviceSecret

the device secret from the Token response.

idToken

the Jwt representing the id token from the Token response.