PHP Class fkooman\OAuth\Client\Callback

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

Public Methods

Method Description
__construct ( $clientConfigId, fkooman\OAuth\Client\ClientConfigInterface $clientConfig, fkooman\OAuth\Client\StorageInterface $tokenStorage, fkooman\OAuth\Client\HttpClientInterface $httpClient )
getClientConfig ( )
getClientConfigId ( )
getHttpClient ( )
getTokenStorage ( )
handleCallback ( array $query )
setClientConfig ( fkooman\OAuth\Client\ClientConfigInterface $clientConfig )
setClientConfigId ( $clientConfigId )
setHttpClient ( fkooman\OAuth\Client\HttpClientInterface $httpClient )
setTokenStorage ( fkooman\OAuth\Client\StorageInterface $tokenStorage )

Method Details

__construct() public method

public __construct ( $clientConfigId, fkooman\OAuth\Client\ClientConfigInterface $clientConfig, fkooman\OAuth\Client\StorageInterface $tokenStorage, fkooman\OAuth\Client\HttpClientInterface $httpClient )
$clientConfig fkooman\OAuth\Client\ClientConfigInterface
$tokenStorage fkooman\OAuth\Client\StorageInterface
$httpClient fkooman\OAuth\Client\HttpClientInterface

getClientConfig() public method

public getClientConfig ( )

getClientConfigId() public method

public getClientConfigId ( )

getHttpClient() public method

public getHttpClient ( )

getTokenStorage() public method

public getTokenStorage ( )

handleCallback() public method

public handleCallback ( array $query )
$query array

setClientConfig() public method

public setClientConfig ( fkooman\OAuth\Client\ClientConfigInterface $clientConfig )
$clientConfig fkooman\OAuth\Client\ClientConfigInterface

setClientConfigId() public method

public setClientConfigId ( $clientConfigId )

setHttpClient() public method

public setHttpClient ( fkooman\OAuth\Client\HttpClientInterface $httpClient )
$httpClient fkooman\OAuth\Client\HttpClientInterface

setTokenStorage() public method

public setTokenStorage ( fkooman\OAuth\Client\StorageInterface $tokenStorage )
$tokenStorage fkooman\OAuth\Client\StorageInterface