A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec. Client - Class CachedKeySet (7.2.1)

Namespace

Firebase \ JWT

Implements

\ArrayAccess

Methods

__construct

Parameters
Name Description
jwksUri string
httpClient Psr\Http\Client\ClientInterface
httpFactory Psr\Http\Message\RequestFactoryInterface
cache Psr\Cache\CacheItemPoolInterface
expiresAfter ?int
rateLimit bool
defaultAlg ?string

offsetGet

Parameter
Name Description
keyId string
Returns
Type Description
Key

offsetExists

Parameter
Name Description
keyId string
Returns
Type Description
bool

offsetSet

Parameters
Name Description
offset string
value Key

offsetUnset

Parameter
Name Description
offset string