You are here

public function JWKFetcher::__construct in Auth0 Single Sign On 8.2

JWKFetcher constructor.

Parameters

CacheHandler|null $cache Cache handler or null for no caching.:

array $guzzleOptions Options for the Guzzle HTTP client.:

File

vendor/auth0/auth0-php/src/Helpers/JWKFetcher.php, line 40

Class

JWKFetcher
Class JWKFetcher.

Namespace

Auth0\SDK\Helpers

Code

public function __construct(CacheHandler $cache = null, array $guzzleOptions = []) {
  if ($cache === null) {
    $cache = new NoCacheHandler();
  }
  $this->cache = $cache;
  $this->guzzleOptions = $guzzleOptions;
}