PHP 클래스 fkooman\OAuth\Client\MongoStorage

This is an implementation of the StorageInterface of the fkooman client for MongoDB storage.
상속: implements fkooman\OAuth\Client\StorageInterface
파일 보기 프로젝트 열기: fkooman/php-oauth-client

공개 메소드들

메소드 설명
__construct ( MongoClient $mongo, $db )
deleteAccessToken ( fkooman\OAuth\Client\AccessToken $accessToken )
deleteRefreshToken ( fkooman\OAuth\Client\RefreshToken $refreshToken )
deleteState ( fkooman\OAuth\Client\State $state )
deleteStateForContext ( $clientConfigId, fkooman\OAuth\Client\Context $context )
getAccessToken ( $clientConfigId, fkooman\OAuth\Client\Context $context )
getRefreshToken ( $clientConfigId, fkooman\OAuth\Client\Context $context )
getState ( $clientConfigId, $state )
storeAccessToken ( fkooman\OAuth\Client\AccessToken $accessToken )
storeRefreshToken ( fkooman\OAuth\Client\RefreshToken $refreshToken )
storeState ( fkooman\OAuth\Client\State $state )

메소드 상세

__construct() 공개 메소드

public __construct ( MongoClient $mongo, $db )
$mongo MongoClient

deleteAccessToken() 공개 메소드

public deleteAccessToken ( fkooman\OAuth\Client\AccessToken $accessToken )
$accessToken fkooman\OAuth\Client\AccessToken

deleteRefreshToken() 공개 메소드

public deleteRefreshToken ( fkooman\OAuth\Client\RefreshToken $refreshToken )
$refreshToken fkooman\OAuth\Client\RefreshToken

deleteState() 공개 메소드

public deleteState ( fkooman\OAuth\Client\State $state )
$state fkooman\OAuth\Client\State

deleteStateForContext() 공개 메소드

public deleteStateForContext ( $clientConfigId, fkooman\OAuth\Client\Context $context )
$context fkooman\OAuth\Client\Context

getAccessToken() 공개 메소드

public getAccessToken ( $clientConfigId, fkooman\OAuth\Client\Context $context )
$context fkooman\OAuth\Client\Context

getRefreshToken() 공개 메소드

public getRefreshToken ( $clientConfigId, fkooman\OAuth\Client\Context $context )
$context fkooman\OAuth\Client\Context

getState() 공개 메소드

public getState ( $clientConfigId, $state )

storeAccessToken() 공개 메소드

public storeAccessToken ( fkooman\OAuth\Client\AccessToken $accessToken )
$accessToken fkooman\OAuth\Client\AccessToken

storeRefreshToken() 공개 메소드

public storeRefreshToken ( fkooman\OAuth\Client\RefreshToken $refreshToken )
$refreshToken fkooman\OAuth\Client\RefreshToken

storeState() 공개 메소드

public storeState ( fkooman\OAuth\Client\State $state )
$state fkooman\OAuth\Client\State