PHP Класс fkooman\OAuth\Client\Api

Автор: François Kooman ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $clientConfigId, fkooman\OAuth\Client\ClientConfigInterface $clientConfig, fkooman\OAuth\Client\StorageInterface $tokenStorage, fkooman\OAuth\Client\HttpClientInterface $httpClient )
deleteAccessToken ( Context $context )
deleteRefreshToken ( Context $context )
getAccessToken ( Context $context )
getAuthorizeUri ( Context $context, $stateValue = null )
getRefreshToken ( Context $context )
setClientConfig ( fkooman\OAuth\Client\ClientConfigInterface $clientConfig )
setClientConfigId ( $clientConfigId )
setHttpClient ( fkooman\OAuth\Client\HttpClientInterface $httpClient )
setTokenStorage ( fkooman\OAuth\Client\StorageInterface $tokenStorage )

Описание методов

__construct() публичный Метод

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

deleteAccessToken() публичный Метод

public deleteAccessToken ( Context $context )
$context Context

deleteRefreshToken() публичный Метод

public deleteRefreshToken ( Context $context )
$context Context

getAccessToken() публичный Метод

public getAccessToken ( Context $context )
$context Context

getAuthorizeUri() публичный Метод

public getAuthorizeUri ( Context $context, $stateValue = null )
$context Context

getRefreshToken() публичный Метод

public getRefreshToken ( Context $context )
$context Context

setClientConfig() публичный Метод

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

setClientConfigId() публичный Метод

public setClientConfigId ( $clientConfigId )

setHttpClient() публичный Метод

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

setTokenStorage() публичный Метод

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