-
Notifications
You must be signed in to change notification settings - Fork 74
Provider
Andrea Zoellner edited this page Jul 30, 2015
·
2 revisions
- Class name: Provider
- Namespace: Crew\Unsplash
- Parent class: League\OAuth2\Client\Provider\AbstractProvider
public string $authorizationHeader = 'Bearer'
The basic authorization header is a bearer token.
- Visibility: public
public array $scopes = array('public')
Define the default scope of the wrapper.
- Visibility: public
string Crew\Unsplash\Provider::urlAuthorize()
Define the authorize url.
- Visibility: public
string Crew\Unsplash\Provider::urlAccessToken()
Define the access token url.
- Visibility: public
string Crew\Unsplash\Provider::urlUserDetails(\League\OAuth2\Client\Token\AccessToken $token)
Define the current user details url.
- Visibility: public
- $token League\OAuth2\Client\Token\AccessToken
\Crew\Unsplash\stdClass Crew\Unsplash\Provider::userDetails(\Crew\Unsplash\GuzzleHttp\Psr7\Response $response, \League\OAuth2\Client\Token\AccessToken $token)
- Visibility: public
- $response Crew\Unsplash\GuzzleHttp\Psr7\Response - <p>Http response</p>
- $token League\OAuth2\Client\Token\AccessToken - <p>Access token information of the current user</p>
string Crew\Unsplash\Provider::userUid(\Crew\Unsplash\GuzzleHttp\Psr7\Response $response, \League\OAuth2\Client\Token\AccessToken $token)
- Visibility: public
- $response Crew\Unsplash\GuzzleHttp\Psr7\Response - <p>Http response</p>
- $token League\OAuth2\Client\Token\AccessToken - <p>Access token information of the current user</p>