interface AccessTokenInterface implements ModelInterface

OAuth2 access token interface.

Methods

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 28
AccessToken setAccessToken(string $accessToken)

Set access_token.

Parameters

string $accessToken

Return Value

AccessToken

at line 35
string getAccessToken()

Get access_token.

Return Value

string

at line 44
AccessToken setTokenType(string $tokenType)

Set token_type.

Parameters

string $tokenType

Return Value

AccessToken

at line 51
string getTokenType()

Get token_type.

Return Value

string

at line 60
AccessToken setClientId(string $clientId)

Set client_id.

Parameters

string $clientId

Return Value

AccessToken

at line 67
string getClientId()

Get client_id.

Return Value

string

at line 76
AccessToken setUsername(string $username)

Set username.

Parameters

string $username

Return Value

AccessToken

at line 83
string getUsername()

Get username.

Return Value

string

at line 92
AccessToken setExpires(int $expires)

Set expires.

Parameters

int $expires

Return Value

AccessToken

at line 99
int getExpires()

Get expires.

Return Value

int

at line 108
AccessToken setScope(array $scope)

Set scope.

Parameters

array $scope

Return Value

AccessToken

at line 115
array getScope()

Get scope.

Return Value

array