revokeAllGrantsForResourceOwner method Null safety

Future revokeAllGrantsForResourceOwner(
  1. int? identifier
)

Revokes access for an ResourceOwner.

All authorization codes and tokens for the ResourceOwner identified by identifier will be revoked.

Implementation

Future revokeAllGrantsForResourceOwner(int? identifier) async {
  if (identifier == null) {
    throw ArgumentError.notNull("identifier");
  }

  await delegate.removeTokens(this, identifier);
}