revokeToken

suspend fun revokeToken(token: String): ERROR CLASS: Symbol not found for Result<kotlin/Unit>

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:

Parameters

token

the token string to revoke.