class AccessToken implements AccessTokenInterface

AccessToken in-memory implementation.

Properties

protected $id
protected $accessToken
protected $tokenType
protected $clientId
protected $username
protected $expires
protected $scope

Methods

__construct()

No description

getId()

No description

setAccessToken(string $accessToken)

Set access_token.

string
getAccessToken()

Get access_token.

setTokenType(string $tokenType)

Set token_type.

string
getTokenType()

Get token_type.

setClientId(string $clientId)

Set client_id.

string
getClientId()

Get client_id.

setUsername(string $username)

Set username.

string
getUsername()

Get username.

setExpires(int $expires)

Set expires.

int
getExpires()

Get expires.

setScope(array $scope)

Set scope.

array
getScope()

Get scope.

Details

at line 33
__construct()

at line 42
getId()

at line 47
AccessToken setAccessToken(string $accessToken)

Set access_token.

Parameters

string $accessToken

Return Value

AccessToken

at line 54
string getAccessToken()

Get access_token.

Return Value

string

at line 59
AccessToken setTokenType(string $tokenType)

Set token_type.

Parameters

string $tokenType

Return Value

AccessToken

at line 66
string getTokenType()

Get token_type.

Return Value

string

at line 71
AccessToken setClientId(string $clientId)

Set client_id.

Parameters

string $clientId

Return Value

AccessToken

at line 78
string getClientId()

Get client_id.

Return Value

string

at line 83
AccessToken setUsername(string $username)

Set username.

Parameters

string $username

Return Value

AccessToken

at line 90
string getUsername()

Get username.

Return Value

string

at line 95
AccessToken setExpires(int $expires)

Set expires.

Parameters

int $expires

Return Value

AccessToken

at line 102
int getExpires()

Get expires.

Return Value

int

at line 107
AccessToken setScope(array $scope)

Set scope.

Parameters

array $scope

Return Value

AccessToken

at line 114
array getScope()

Get scope.

Return Value

array