class OAuth2 (View source)

Properties

protected mixed $adsConfig Adwords config data based on the environment.
protected $oAuthConfig

Methods

__construct(null $env = null)

OAuth2 constructor.

UserRefreshCredentials
userCredentials(array $data = [])

UserRefreshCredentials Generate a refreshable OAuth2 credential for authentication.

OAuth2
build()

No description

Details

__construct(null $env = null)

OAuth2 constructor.

Parameters

null $env

UserRefreshCredentials userCredentials(array $data = [])

UserRefreshCredentials Generate a refreshable OAuth2 credential for authentication.

Parameters: $data: [$clientId => '',$clientSecret => '',$refreshToken => '']

Parameters

array $data

Return Value

UserRefreshCredentials

OAuth2 build()

Return Value

OAuth2