public property Server::$settings in OAuth2 Server 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Server.php \Drupal\oauth2_server\Entity\Server::settings
An array of settings.
Type: array
File
- src/
Entity/ Server.php, line 75
Class
- Server
- Defines the OAuth2 server entity.
Namespace
Drupal\oauth2_server\EntityCode
public $settings = [
'default_scope' => '',
'enforce_state' => TRUE,
'allow_implicit' => FALSE,
'use_openid_connect' => FALSE,
'use_crypto_tokens' => FALSE,
'store_encrypted_token_string' => FALSE,
'grant_types' => [
'authorization_code' => 'authorization_code',
'refresh_token' => 'refresh_token',
],
'advanced_settings' => [
'access_lifetime' => 3600,
'id_lifetime' => 3600,
'refresh_token_lifetime' => 1209600,
'require_exact_redirect_uri' => TRUE,
],
];