revokeToken
Attempt to revoke the specified token.
On success, a TokenRevokedEvent is emitted on events.
Return
Result.success with Unit if revoked, or Result.failure with:
OAuth2ClientResult.Error.OidcEndpointsNotAvailableException if endpoints cannot be resolved.
OAuth2ClientResult.Error.HttpResponseException if the server returns an error.
Other exceptions for network failures.
Parameters
token
the token string to revoke.