A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec. Client - Class CachedKeySet (7.2.2)
Stay organized with collections
Save and categorize content based on your preferences.
7.2.2 (latest)
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-17 UTC.
[null,null,["Last updated 2026-11-17 UTC."],[],[]]