scopes property
The list of required scopes.
If validator grants scope-limited authorizations (e.g., OAuth2 bearer tokens), the authorization provided by the request's header must have access to all scopes in order to move on to the next controller.
This property is set with a list of scope strings in a constructor. Each scope string is parsed into an AuthScope and added to this list.
Implementation
final List<AuthScope>? scopes;