revokeToken abstract method

Future<void> revokeToken(
  1. Session session, {
  2. required String tokenId,
  3. Transaction? transaction,
  4. String? tokenIssuer,
})

Revokes a specific token by its ID.

If the tokenId doesn't exist, the operation completes without error. If tokenIssuer is provided, only tokens from that specific token manager will be revoked.

Implementation

Future<void> revokeToken(
  final Session session, {
  required final String tokenId,
  final Transaction? transaction,
  final String? tokenIssuer,
});