You are here

private property HttpClientOAuth2::$settings in Http Client 7.2

The settings for the oauth2 client.

An associative array that can have these items:

  • token_endpoint: something like https://server.org/oauth2/token
  • auth_flow: can be server-side|client-credentials|user-password)
  • client_id: the client ID as registered on the oauth2 server
  • client_secret: the client secret as registered on the oauth2 server
  • redirect_uri: something like https://client.org/oauth2/authorized
  • authorization_endpoint: like https://server.org/oauth2/authorize
  • username: username of resource owner on the oauth2 server
  • password: password of resource owner on the oauth2 server
  • scope: space separated list of scopes
  • query_auth: if TRUE, access_token will be set on the query, otherwise on the headers

See README.org for some examples.

File

includes/auth/oauth2/HttpClientOAuth2.inc, line 22

Class

HttpClientOAuth2

Code

private $settings;