You are here

public property OAuth2Server::$settings in OAuth2 Server 7

An array of settings.

Type: array

File

includes/oauth2_server.server.inc, line 27

Class

OAuth2Server
Entity class representing the oauth2_server entity type.

Code

public $settings = array(
  'default_scope' => '',
  'enforce_state' => TRUE,
  'allow_implicit' => FALSE,
  'use_openid_connect' => FALSE,
  'use_crypto_tokens' => FALSE,
  'store_encrypted_token_string' => FALSE,
  'require_exact_redirect_uri' => TRUE,
  'grant_types' => array(
    'authorization_code' => 'authorization_code',
    'refresh_token' => 'refresh_token',
  ),
  'access_lifetime' => 3600,
  'id_lifetime' => 3600,
  'refresh_token_lifetime' => 1209600,
);