RateLimitedJwksClient implements ClientInterface
FinalYes
Limits JWKS requests per URI and throws at the limit, as a {@see \Firebase\JWT\CachedKeySet} with its own rate limit reports the key as missing.
Tags
Table of Contents
Interfaces
- ClientInterface
Properties
Methods
- __construct() : mixed
- sendRequest() : ResponseInterface
Properties
$cache read-only
private
CacheItemPoolInterface
$cache
$client read-only
private
ClientInterface
$client
Methods
__construct()
public
__construct(ClientInterface $client, CacheItemPoolInterface $cache) : mixed
Parameters
- $client : ClientInterface
- $cache : CacheItemPoolInterface
sendRequest()
public
sendRequest(RequestInterface $request) : ResponseInterface
Parameters
- $request : RequestInterface