You are here

public function Client::getConfig in Auth0 Single Sign On 8.2

Get a client configuration option.

These options include default request options of the client, a "handler" (if utilized by the concrete client), and a "base_uri" if utilized by the concrete client.

Parameters

string|null $option The config option to retrieve.:

Return value

mixed

Overrides ClientInterface::getConfig

File

vendor/guzzlehttp/guzzle/src/Client.php, line 196

Class

Client
@method ResponseInterface get(string|UriInterface $uri, array $options = []) @method ResponseInterface head(string|UriInterface $uri, array $options = []) @method ResponseInterface put(string|UriInterface $uri, array $options = []) @method…

Namespace

GuzzleHttp

Code

public function getConfig($option = null) {
  return $option === null ? $this->config : (isset($this->config[$option]) ? $this->config[$option] : null);
}