revokeAllGrantsForResourceOwner method

Future revokeAllGrantsForResourceOwner(
  1. dynamic identifier
)

Revokes access for an ResourceOwner.

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

Implementation

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

  await delegate.removeTokens(this, identifier);
}