PHP Class fkooman\OAuth\Client\TokenRequest

Afficher le fichier Open project: fkooman/php-oauth-client Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( fkooman\OAuth\Client\HttpClientInterface $httpClient, fkooman\OAuth\Client\ClientConfigInterface $clientConfig )
withAuthorizationCode ( $authorizationCode )
withRefreshToken ( $refreshToken )

Private Methods

Méthode Description
accessTokenRequest ( array $p )

Method Details

__construct() public méthode

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

withAuthorizationCode() public méthode

public withAuthorizationCode ( $authorizationCode )

withRefreshToken() public méthode

public withRefreshToken ( $refreshToken )