You are here

protected property OAuth2Client::$params in OAuth2 Client 8

Parameters.

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

(needed for testing).

Type: array

File

src/Service/OAuth2Client.php, line 61

Class

OAuth2Client
OAuth2Client service.

Namespace

Drupal\oauth2_client\Service

Code

protected $params = [
  '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,
];