revokeToken method
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
@override
Future<void> revokeToken(
final Session session, {
required final String tokenId,
final Transaction? transaction,
final String? tokenIssuer,
}) async {
await Future.wait(
_allTokenManagers.map(
(final manager) => manager.revokeToken(
session,
tokenId: tokenId,
transaction: transaction,
tokenIssuer: tokenIssuer,
),
),
);
}