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