Stud.IP  6.0
ScopeRepository Class Reference
Inheritance diagram for ScopeRepository:

Public Member Functions

 __construct (ContainerInterface $container)
 
 getScopeEntityByIdentifier ($identifier)
 
 finalizeScopes (array $scopes, $grantType, ClientEntityInterface $clientEntity, $userIdentifier=null)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ContainerInterface  $container)

Member Function Documentation

◆ finalizeScopes()

finalizeScopes ( array  $scopes,
  $grantType,
ClientEntityInterface  $clientEntity,
  $userIdentifier = null 
)

Given a client, grant type and optional user identifier validate the set of scopes requested are valid and optionally append additional scopes or remove requested scopes.

Parameters
ScopeEntityInterface[]$scopes
string$grantType
ClientEntityInterface$clientEntity
null | string$userIdentifier
Returns
ScopeEntityInterface[]

◆ getScopeEntityByIdentifier()

getScopeEntityByIdentifier (   $identifier)

Return information about a scope.

Parameters
string$identifierThe scope identifier

The documentation for this class was generated from the following file: