PHP Class SocialiteProviders\Manager\OAuth1\Server

Inheritance: extends League\OAuth1\Client\Server\Server, use trait SocialiteProviders\Manager\ConfigTrait
Show file Open project: socialiteproviders/manager

Protected Properties

Property Type Description
$parameters array The custom parameters to be sent with the request.
$scopeSeparator string The separating character for the requested scopes.
$scopes array The scopes being requested.

Public Methods

Method Description
getTokenCredentials ( League\OAuth1\Client\Credentials\TemporaryCredentials $temporaryCredentials, string $temporaryIdentifier, string $verifier ) : League\OAuth1\Client\Credentials\TokenCredentials Retrieves token credentials by passing in the temporary credentials, the temporary credentials identifier as passed back by the server and finally the verifier code.
scopes ( array $scopes ) Set the scopes of the requested access.
with ( array $parameters ) Set the custom parameters of the request.

Protected Methods

Method Description
formatScopes ( array $scopes, string $scopeSeparator ) : string Format the given scopes.

Method Details

formatScopes() protected method

Format the given scopes.
protected formatScopes ( array $scopes, string $scopeSeparator ) : string
$scopes array
$scopeSeparator string
return string

getTokenCredentials() public method

Retrieves token credentials by passing in the temporary credentials, the temporary credentials identifier as passed back by the server and finally the verifier code.
public getTokenCredentials ( League\OAuth1\Client\Credentials\TemporaryCredentials $temporaryCredentials, string $temporaryIdentifier, string $verifier ) : League\OAuth1\Client\Credentials\TokenCredentials
$temporaryCredentials League\OAuth1\Client\Credentials\TemporaryCredentials
$temporaryIdentifier string
$verifier string
return League\OAuth1\Client\Credentials\TokenCredentials

scopes() public method

Set the scopes of the requested access.
public scopes ( array $scopes )
$scopes array

with() public method

Set the custom parameters of the request.
public with ( array $parameters )
$parameters array

Property Details

$parameters protected property

The custom parameters to be sent with the request.
protected array $parameters
return array

$scopeSeparator protected property

The separating character for the requested scopes.
protected string $scopeSeparator
return string

$scopes protected property

The scopes being requested.
protected array $scopes
return array