baserCMS クラスリファレンス

Oauth2AuthCode extends Entity
in package

Oauth2AuthCode Entity

Table of Contents

Properties

$client_id  : string
$code  : string
$created  : DateTime|null
$expires_at  : DateTime
$id  : int
$modified  : DateTime|null
$redirect_uri  : string
$revoked  : bool
$scopes  : string|null
$user_id  : string
$_accessible  : array<string, bool>
accessible properties

Methods

getScopesArray()  : array<string|int, mixed>
スコープを配列として取得
setScopesFromArray()  : void
スコープを文字列として設定

Properties

$_accessible

accessible properties

protected array<string, bool> $_accessible = ['code' => true, 'user_id' => true, 'client_id' => true, 'redirect_uri' => true, 'scopes' => true, 'revoked' => true, 'expires_at' => true, 'created' => true, 'modified' => true]

Methods

getScopesArray()

スコープを配列として取得

public getScopesArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

setScopesFromArray()

スコープを文字列として設定

public setScopesFromArray(array<string|int, mixed> $scopes) : void
Parameters
$scopes : array<string|int, mixed>
On this page

Search results