ScopeRepository
class ScopeRepository implements ScopeRepositoryInterface
Methods
ScopeEntityInterface|null
getScopeEntityByIdentifier(string $identifier)
Retrieve a scope entity by its identifier.
array
finalizeScopes(array $scopes, string $grantType, ClientEntityInterface $clientEntity, string|null $userIdentifier = null, string|null $authCodeId = null)
Restrict scopes to those allowed for the grant and client.
Details
at line 20
__construct(ClientRepository $clients)
Create a new scope repository.
at line 30
ScopeEntityInterface|null
getScopeEntityByIdentifier(string $identifier)
Retrieve a scope entity by its identifier.
{@inheritdoc}
at line 40
array
finalizeScopes(array $scopes, string $grantType, ClientEntityInterface $clientEntity, string|null $userIdentifier = null, string|null $authCodeId = null)
Restrict scopes to those allowed for the grant and client.
{@inheritdoc}