You are here

public function OpenIDConnectClientBase::getSetting in OpenID Connect / OAuth client 7

Returns the value of a setting.

Overrides OpenIDConnectClientInterface::getSetting

5 calls to OpenIDConnectClientBase::getSetting()
OpenIDConnectClientBase::authorize in includes/OpenIDConnectClientBase.class.php
Redirects the user to the authorization endpoint.
OpenIDConnectClientBase::retrieveTokens in includes/OpenIDConnectClientBase.class.php
Retrieve access token and ID token.
OpenIDConnectClientBase::settingsForm in includes/OpenIDConnectClientBase.class.php
Returns the settings form.
OpenIDConnectClientGeneric::getEndpoints in plugins/openid_connect_client/generic/OpenIDConnectClientGeneric.class.php
Returns an array of endpoints.
OpenIDConnectClientGeneric::settingsForm in plugins/openid_connect_client/generic/OpenIDConnectClientGeneric.class.php
Returns the settings form.

File

includes/OpenIDConnectClientBase.class.php, line 67
Base class for OpenID Connect clients.

Class

OpenIDConnectClientBase
Base class for OpenID Connect clients.

Code

public function getSetting($key, $default = NULL) {
  return isset($this->settings[$key]) ? $this->settings[$key] : $default;
}