allowsScope method Null safety
- AuthScope scope
Whether or not this client can issue tokens for the provided scope
.
Implementation
bool allowsScope(AuthScope scope) {
return allowedScopes
?.any((clientScope) => scope.isSubsetOrEqualTo(clientScope)) ??
false;
}