ScopeVoter
final class ScopeVoter (View source)
Requires every endpoint scope unless the authenticated identity owns the administrative scope.
Scope evaluation never changes or substitutes the identity trust boundary.
Methods
isGranted(ApiIdentity $identity, array $requiredScopes)
Reports whether the identity satisfies the complete required scope set.
bool
Details
isGranted
bool
isGranted(ApiIdentity $identity, array $requiredScopes)
Reports whether the identity satisfies the complete required scope set.