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
$client_id
public
string
$client_id
$code
public
string
$code
$created
public
DateTime|null
$created
$expires_at
public
DateTime
$expires_at
$id
public
int
$id
$modified
public
DateTime|null
$modified
$redirect_uri
public
string
$redirect_uri
$revoked
public
bool
$revoked
$scopes
public
string|null
$scopes
$user_id
public
string
$user_id
$_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>