You are here

protected property Client::$params in OAuth2 Client 7

Same name and namespace in other branches
  1. 7.2 src/Client.php \OAuth2\Client::params

Associative array of the parameters that are needed by the different types of authorization flows.

Type: array

File

./oauth2_client.inc, line 51
Class OAuth2\Client

Class

Client
The class OAuth2\Client is used to get authorization from an oauth2 server. Its only goal is to get an access_token from the oauth2 server, so the only public function (besides the constructor) is getAccessToken().

Namespace

OAuth2

Code

protected $params = array(
  'auth_flow' => NULL,
  'client_id' => NULL,
  'client_secret' => NULL,
  'token_endpoint' => NULL,
  'authorization_endpoint' => NULL,
  'redirect_uri' => NULL,
  'scope' => NULL,
  'username' => NULL,
  'password' => NULL,
  'skip-ssl-verification' => FALSE,
);