revokeAllTokens abstract method

Future<void> revokeAllTokens(
  1. Session session, {
  2. required UuidValue? authUserId,
  3. Transaction? transaction,
  4. String? method,
  5. String? tokenIssuer,
})

Revokes all tokens matching the given criteria.

If authUserId is provided, only tokens for that user will be revoked. If method is provided, only tokens created with that authentication method will be revoked. If tokenIssuer is provided, only tokens from that specific token manager will be revoked.

Implementation

Future<void> revokeAllTokens(
  final Session session, {
  required final UuidValue? authUserId,
  final Transaction? transaction,
  final String? method,
  final String? tokenIssuer,
});