PHP Class SocialiteProviders\Manager\OAuth1\AbstractProvider

Inheritance: extends Laravel\Socialite\One\AbstractProvider, use trait SocialiteProviders\Manager\ConfigTrait
Show file Open project: socialiteproviders/manager

Protected Properties

Property Type Description
$credentialsResponseBody array
$stateless boolean Indicates if the session state should be utilized.

Public Methods

Method Description
redirect ( ) : RedirectResponse Redirect the user to the authentication page for the provider.
scopes ( array $scopes ) Set the scopes of the requested access.
serviceContainerKey ( $providerName )
setConfig ( SocialiteProviders\Manager\Contracts\ConfigInterface $config )
stateless ( $stateless = true ) Indicates that the provider should operate as stateless.
user ( )
with ( array $parameters ) Set the custom parameters of the request.

Protected Methods

Method Description
getToken ( ) : League\OAuth1\Client\Credentials\TokenCredentials Get the token credentials for the request.
isStateless ( ) : boolean Determine if the provider is operating as stateless.

Method Details

getToken() protected method

Get the token credentials for the request.
protected getToken ( ) : League\OAuth1\Client\Credentials\TokenCredentials
return League\OAuth1\Client\Credentials\TokenCredentials

isStateless() protected method

Determine if the provider is operating as stateless.
protected isStateless ( ) : boolean
return boolean

redirect() public method

Redirect the user to the authentication page for the provider.
public redirect ( ) : RedirectResponse
return Symfony\Component\HttpFoundation\RedirectResponse

scopes() public method

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

serviceContainerKey() public static method

public static serviceContainerKey ( $providerName )

setConfig() public method

public setConfig ( SocialiteProviders\Manager\Contracts\ConfigInterface $config )
$config SocialiteProviders\Manager\Contracts\ConfigInterface

stateless() public method

Indicates that the provider should operate as stateless.
public stateless ( $stateless = true )

user() public method

public user ( )

with() public method

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

Property Details

$credentialsResponseBody protected property

protected array $credentialsResponseBody
return array

$stateless protected property

Indicates if the session state should be utilized.
protected bool $stateless
return boolean