interface CodeInterface implements ModelInterface

OAuth2 authorization code interface.

Methods

Code
setCode(string $code)

Set code.

string
getCode()

Get code.

Code
setClientId(string $clientId)

Set client_id.

string
getClientId()

Get client_id.

Code
setUsername(string $username)

Set username.

string
getUsername()

Get username.

Code
setRedirectUri(string $redirectUri)

Set redirect_uri.

string
getRedirectUri()

Get redirect_uri.

Code
setExpires(int $expires)

Set expires.

int
getExpires()

Get expires.

Code
setScope(array $scope)

Set scope.

array
getScope()

Get scope.

Details

at line 28
Code setCode(string $code)

Set code.

Parameters

string $code

Return Value

Code

at line 35
string getCode()

Get code.

Return Value

string

at line 44
Code setClientId(string $clientId)

Set client_id.

Parameters

string $clientId

Return Value

Code

at line 51
string getClientId()

Get client_id.

Return Value

string

at line 60
Code setUsername(string $username)

Set username.

Parameters

string $username

Return Value

Code

at line 67
string getUsername()

Get username.

Return Value

string

at line 76
Code setRedirectUri(string $redirectUri)

Set redirect_uri.

Parameters

string $redirectUri

Return Value

Code

at line 83
string getRedirectUri()

Get redirect_uri.

Return Value

string

at line 92
Code setExpires(int $expires)

Set expires.

Parameters

int $expires

Return Value

Code

at line 99
int getExpires()

Get expires.

Return Value

int

at line 108
Code setScope(array $scope)

Set scope.

Parameters

array $scope

Return Value

Code

at line 115
array getScope()

Get scope.

Return Value

array