Documentation

CachedKeySet
in package
implements ArrayAccess

Tags
implements

ArrayAccess<string, Key>

Interfaces, Classes, Traits and Enums

ArrayAccess

Table of Contents

$cache  : CacheItemPoolInterface
$cacheItem  : CacheItemInterface|null
$cacheKey  : string
$cacheKeyPrefix  : string
$defaultAlg  : string|null
$expiresAfter  : int|null
$httpClient  : ClientInterface
$httpFactory  : RequestFactoryInterface
$jwksUri  : string
$keySet  : array<string, Key>
$maxCallsPerMinute  : int
$maxKeyLength  : int
$rateLimit  : bool
$rateLimitCacheKey  : string
__construct()  : mixed
offsetExists()  : bool
offsetGet()  : Key
offsetSet()  : void
offsetUnset()  : void
getCacheItem()  : CacheItemInterface
keyIdExists()  : bool
rateLimitExceeded()  : bool
setCacheKeys()  : void

Properties

Methods

__construct()

public __construct(string $jwksUri, ClientInterface $httpClient, RequestFactoryInterface $httpFactory, CacheItemPoolInterface $cache[, int $expiresAfter = null ][, bool $rateLimit = false ][, string $defaultAlg = null ]) : mixed
Parameters
$jwksUri : string
$httpClient : ClientInterface
$httpFactory : RequestFactoryInterface
$cache : CacheItemPoolInterface
$expiresAfter : int = null
$rateLimit : bool = false
$defaultAlg : string = null
Return values
mixed

offsetExists()

public offsetExists(string $keyId) : bool
Parameters
$keyId : string
Return values
bool

offsetGet()

public offsetGet(string $keyId) : Key
Parameters
$keyId : string
Return values
Key

offsetSet()

public offsetSet(string $offset, Key $value) : void
Parameters
$offset : string
$value : Key
Return values
void

offsetUnset()

public offsetUnset(string $offset) : void
Parameters
$offset : string
Return values
void

keyIdExists()

private keyIdExists(string $keyId) : bool
Parameters
$keyId : string
Return values
bool

rateLimitExceeded()

private rateLimitExceeded() : bool
Return values
bool

setCacheKeys()

private setCacheKeys() : void
Return values
void

Search results