hasRequiredScopes method
Check if token has required scopes
Implementation
@override
bool hasRequiredScopes(List<String> tokenScopes, List<String> requiredScopes) {
return requiredScopes.every((scope) => tokenScopes.contains(scope));
}
Check if token has required scopes
@override
bool hasRequiredScopes(List<String> tokenScopes, List<String> requiredScopes) {
return requiredScopes.every((scope) => tokenScopes.contains(scope));
}