ScopeRepository
implements
ScopeRepositoryInterface
Table of Contents
Interfaces
- ScopeRepositoryInterface
Properties
-
$userRepository
: mixed
Methods
-
__construct()
: mixed
-
finalizeScopes()
: array<string|int, Scope>
-
getScopeEntityByIdentifier()
: mixed
-
inScope()
: bool
$userRepository
private
mixed
$userRepository
__construct()
public
__construct(PDO $pdo, UserRepository $userRepository) : mixed
Parameters
-
$pdo
: PDO
-
-
$userRepository
: UserRepository
-
finalizeScopes()
public
finalizeScopes(array<string|int, Scope> $scopes, string $grantType, ClientEntityInterface $client[, string|null $userIdentifier = null ]) : array<string|int, Scope>
Parameters
-
$scopes
: array<string|int, Scope>
-
-
$grantType
: string
-
-
$client
: ClientEntityInterface
-
-
$userIdentifier
: string|null
= null
-
Return values
array<string|int, Scope>
getScopeEntityByIdentifier()
public
getScopeEntityByIdentifier(mixed $identifier) : mixed
Parameters
-
$identifier
: mixed
-
inScope()
private
inScope(array<string|int, ScopeEntityInterface> $haystack, ScopeEntityInterface $needle) : bool
Parameters
-
$haystack
: array<string|int, ScopeEntityInterface>
-
-
$needle
: ScopeEntityInterface
-