baserCMS クラスリファレンス

OAuth2ScopeRepository
in package
implements ScopeRepositoryInterface

OAuth2 Scope Repository

Table of Contents

Interfaces

ScopeRepositoryInterface

Properties

$scopes  : array<string|int, mixed>
利用可能なスコープ

Methods

__construct()  : mixed
コンストラクタ
finalizeScopes()  : array<string|int, ScopeEntityInterface>
スコープを最終化
getScopeEntityByIdentifier()  : ScopeEntityInterface|null
スコープエンティティを取得

Properties

Methods

finalizeScopes()

スコープを最終化

public finalizeScopes(array<string|int, ScopeEntityInterface$scopes, string $grantType, ClientEntityInterface $clientEntity[, string|null $userIdentifier = null ]) : array<string|int, ScopeEntityInterface>
Parameters
$scopes : array<string|int, ScopeEntityInterface>
$grantType : string
$clientEntity : ClientEntityInterface
$userIdentifier : string|null = null
Return values
array<string|int, ScopeEntityInterface>

getScopeEntityByIdentifier()

スコープエンティティを取得

public getScopeEntityByIdentifier(string $identifier) : ScopeEntityInterface|null
Parameters
$identifier : string

スコープ識別子

Return values
ScopeEntityInterface|null
On this page

Search results