revokeToken

suspend fun revokeToken(revokeTokenType: RevokeTokenType, token: Token): OAuth2ClientResult<Unit>

Attempt to revoke the specified token.

Note: OIDC Logout terminology is nuanced, see Logout Documentation for additional details.

Parameters

revokeTokenType

the RevokeTokenType to revoke.

token

the token to attempt to revoke.