AccessToken
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.
at line 54
string
getAccessToken()
Get access_token.
at line 59
AccessToken
setTokenType(string $tokenType)
Set token_type.
at line 66
string
getTokenType()
Get token_type.
at line 71
AccessToken
setClientId(string $clientId)
Set client_id.
at line 78
string
getClientId()
Get client_id.
at line 83
AccessToken
setUsername(string $username)
Set username.
at line 90
string
getUsername()
Get username.
at line 95
AccessToken
setExpires(int $expires)
Set expires.
at line 102
int
getExpires()
Get expires.
at line 107
AccessToken
setScope(array $scope)
Set scope.
at line 114
array
getScope()
Get scope.