PHP Class AuthBucket\Bundle\OAuth2Bundle\Entity\Code

Inheritance: implements AuthBucket\OAuth2\Model\CodeInterface
Show file Open project: authbucket/oauth2-symfony-bundle

Protected Properties

Property Type Description
$clientId string
$code string
$expires DateTime
$redirectUri string
$scope array
$username string

Public Methods

Method Description
getClientId ( ) : string Get client_id.
getCode ( ) : string Get code.
getExpires ( ) : DateTime Get expires.
getRedirectUri ( ) : string Get redirect_uri.
getScope ( ) : array Get scope.
getUsername ( ) : string Get username.
setClientId ( string $clientId ) : Code Set client_id.
setCode ( string $code ) : Code Set code.
setExpires ( DateTime $expires ) : Code Set expires.
setRedirectUri ( string $redirectUri ) : Code Set redirect_uri.
setScope ( array $scope ) : Code Set scope.
setUsername ( string $username ) : Code Set username.

Method Details

getClientId() public method

Get client_id.
public getClientId ( ) : string
return string

getCode() public method

Get code.
public getCode ( ) : string
return string

getExpires() public method

Get expires.
public getExpires ( ) : DateTime
return DateTime

getRedirectUri() public method

Get redirect_uri.
public getRedirectUri ( ) : string
return string

getScope() public method

Get scope.
public getScope ( ) : array
return array

getUsername() public method

Get username.
public getUsername ( ) : string
return string

setClientId() public method

Set client_id.
public setClientId ( string $clientId ) : Code
$clientId string
return Code

setCode() public method

Set code.
public setCode ( string $code ) : Code
$code string
return Code

setExpires() public method

Set expires.
public setExpires ( DateTime $expires ) : Code
$expires DateTime
return Code

setRedirectUri() public method

Set redirect_uri.
public setRedirectUri ( string $redirectUri ) : Code
$redirectUri string
return Code

setScope() public method

Set scope.
public setScope ( array $scope ) : Code
$scope array
return Code

setUsername() public method

Set username.
public setUsername ( string $username ) : Code
$username string
return Code

Property Details

$clientId protected property

protected string $clientId
return string

$code protected property

protected string $code
return string

$expires protected property

protected DateTime $expires
return DateTime

$redirectUri protected property

protected string $redirectUri
return string

$scope protected property

protected array $scope
return array

$username protected property

protected string $username
return string