PHP 클래스 fkooman\OAuth\Client\Api

저자: François Kooman ([email protected])
파일 보기 프로젝트 열기: fkooman/php-oauth-client 1 사용 예제들

공개 메소드들

메소드 설명
__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