PHP Class KnpU\OAuth2ClientBundle\Client\Provider\GithubClient

Inheritance: extends KnpU\OAuth2ClientBundle\Client\OAuth2Client
Show file Open project: knpuniversity/oauth2-client-bundle

Public Methods

Method Description
fetchUser ( ) : League\OAuth2\Client\Provider\GithubResourceOwner
fetchUserFromToken ( League\OAuth2\Client\Token\AccessToken $accessToken ) : League\OAuth2\Client\Provider\GithubResourceOwner

Method Details

fetchUser() public method

public fetchUser ( ) : League\OAuth2\Client\Provider\GithubResourceOwner
return League\OAuth2\Client\Provider\GithubResourceOwner

fetchUserFromToken() public method

public fetchUserFromToken ( League\OAuth2\Client\Token\AccessToken $accessToken ) : League\OAuth2\Client\Provider\GithubResourceOwner
$accessToken League\OAuth2\Client\Token\AccessToken
return League\OAuth2\Client\Provider\GithubResourceOwner