ResourceRepository
class ResourceRepository
Methods
array
validate(mixed $resources)
Validate requested resource identifiers against the current server's catalog.
array
select(array|null $requested, array|null $authorized, bool $hasGrant)
Select audiences without widening an existing authorization.
array
finalizeScopes(array $scopes, array $audience, array|null $resources)
Limit a token to permissions approved for every selected audience.
OAuthServerException
invalidTarget()
Create the protocol error for an unacceptable resource.
Details
at line 17
array
validate(mixed $resources)
Validate requested resource identifiers against the current server's catalog.
at line 43
array
select(array|null $requested, array|null $authorized, bool $hasGrant)
Select audiences without widening an existing authorization.
at line 66
array
finalizeScopes(array $scopes, array $audience, array|null $resources)
Limit a token to permissions approved for every selected audience.
at line 83
protected OAuthServerException
invalidTarget()
Create the protocol error for an unacceptable resource.