hasScope method

bool hasScope(
  1. ApiScope scope
)

Whether this authentication configuration has a specific scope.

Implementation

bool hasScope(ApiScope scope) => scopes.contains(scope);