PHP Class AuthBucket\Bundle\OAuth2Bundle\Entity\Authorize

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

Protected Properties

Property Type Description
$clientId string
$scope array
$username string

Public Methods

Method Description
getClientId ( ) : string Get client_id.
getScope ( ) : array Get scope.
getUsername ( ) : string Get username.
setClientId ( string $clientId ) : Authorize Set client_id.
setScope ( array $scope ) : Authorize Set scope.
setUsername ( string $username ) : Authorize Set username.

Method Details

getClientId() public method

Get client_id.
public getClientId ( ) : 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 ) : Authorize
$clientId string
return Authorize

setScope() public method

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

setUsername() public method

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

Property Details

$clientId protected property

protected string $clientId
return string

$scope protected property

protected array $scope
return array

$username protected property

protected string $username
return string