You are here

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

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

4 calls to OpenIDConnectClientBase::defaultConfiguration()
OpenIDConnectClientBase::setConfiguration in src/Plugin/OpenIDConnectClientBase.php
Sets the configuration for this plugin instance.
OpenIDConnectFacebookClient::defaultConfiguration in src/Plugin/OpenIDConnectClient/OpenIDConnectFacebookClient.php
Gets default configuration for this plugin.
OpenIDConnectGenericClient::defaultConfiguration in src/Plugin/OpenIDConnectClient/OpenIDConnectGenericClient.php
Gets default configuration for this plugin.
OpenIDConnectOktaClient::defaultConfiguration in src/Plugin/OpenIDConnectClient/OpenIDConnectOktaClient.php
Gets default configuration for this plugin.
3 methods override OpenIDConnectClientBase::defaultConfiguration()
OpenIDConnectFacebookClient::defaultConfiguration in src/Plugin/OpenIDConnectClient/OpenIDConnectFacebookClient.php
Gets default configuration for this plugin.
OpenIDConnectGenericClient::defaultConfiguration in src/Plugin/OpenIDConnectClient/OpenIDConnectGenericClient.php
Gets default configuration for this plugin.
OpenIDConnectOktaClient::defaultConfiguration in src/Plugin/OpenIDConnectClient/OpenIDConnectOktaClient.php
Gets default configuration for this plugin.

File

src/Plugin/OpenIDConnectClientBase.php, line 180

Class

OpenIDConnectClientBase
Base class for OpenID Connect client plugins.

Namespace

Drupal\openid_connect\Plugin

Code

public function defaultConfiguration() {
  return [
    'client_id' => '',
    'client_secret' => '',
  ];
}