You are here

public function OpenIDConnectGenericClient::defaultConfiguration in OpenID Connect / OAuth client 8

Same name and namespace in other branches
  1. 2.x src/Plugin/OpenIDConnectClient/OpenIDConnectGenericClient.php \Drupal\openid_connect\Plugin\OpenIDConnectClient\OpenIDConnectGenericClient::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides OpenIDConnectClientBase::defaultConfiguration

File

src/Plugin/OpenIDConnectClient/OpenIDConnectGenericClient.php, line 24

Class

OpenIDConnectGenericClient
Generic OpenID Connect client.

Namespace

Drupal\openid_connect\Plugin\OpenIDConnectClient

Code

public function defaultConfiguration() {
  return [
    'authorization_endpoint' => '',
    'token_endpoint' => '',
    'userinfo_endpoint' => '',
  ] + parent::defaultConfiguration();
}