revokeForUser abstract method

FutureOr<AuthApiKeyRecord?> revokeForUser(
  1. String userId,
  2. String id, {
  3. DateTime? revokedAt,
})

Revokes a key only when it belongs to userId.

Implementation

FutureOr<AuthApiKeyRecord?> revokeForUser(
  String userId,
  String id, {
  DateTime? revokedAt,
});