PHP Class fkooman\OAuth\Client\TokenResponse

Show file Open project: fkooman/php-oauth-client Class Usage Examples

Public Methods

Method Description
__construct ( array $data )
getAccessToken ( )
getExpiresIn ( )
getRefreshToken ( )
getScope ( )
getTokenType ( )
setAccessToken ( $accessToken )
setExpiresIn ( $expiresIn )
setRefreshToken ( $refreshToken )
setScope ( $scope )
setTokenType ( $tokenType )

Method Details

__construct() public method

public __construct ( array $data )
$data array

getAccessToken() public method

public getAccessToken ( )

getExpiresIn() public method

public getExpiresIn ( )

getRefreshToken() public method

public getRefreshToken ( )

getScope() public method

public getScope ( )

getTokenType() public method

public getTokenType ( )

setAccessToken() public method

public setAccessToken ( $accessToken )

setExpiresIn() public method

public setExpiresIn ( $expiresIn )

setRefreshToken() public method

public setRefreshToken ( $refreshToken )

setScope() public method

public setScope ( $scope )

setTokenType() public method

public setTokenType ( $tokenType )