Download the PHP package componenta/auth-jwt without Composer
On this page you can find all versions of the php package componenta/auth-jwt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download componenta/auth-jwt
More information about componenta/auth-jwt
Files in componenta/auth-jwt
Package auth-jwt
Short Description JWT access tokens and rotating refresh-token families for Componenta Auth 3
License MIT
Informations about the package auth-jwt
Componenta Auth JWT
JWT access tokens with rotating opaque refresh-token families for Componenta Auth 3.
Auth 3 JWTs preserve the AuthenticationEvidence that established the token. Refresh families persist the same bounded evidence snapshot, so refresh cannot silently raise authentication assurance.
Refresh-token reuse compromises and revokes the complete family.
Refresh grants have two independent lifetimes: an inactivity-style per-token TTL and an absolute family TTL. Rotation may shorten a successor to the family deadline but never extends that deadline. This bounds how long an old AuthenticationEvidence snapshot can be propagated without fresh authentication.
Security integration migration (Auth 3 development)
RefreshHandler now requires one AuthenticationGuardInterface $guard as its
last constructor argument instead of optional variadic guards. Inject the same
account-admission policy used for session issuance and other login mechanisms.
There is no default allow implementation; compose multiple checks in the
application's guard when necessary.
All fallible work after a successful refresh rotation, including the second identity/guard check, is within the compensation scope. On exception, the unpublished successor is revoked. Revocation-store failure must be treated as an infrastructure error; it is not successful revocation. This does not change the lifetime/revocation semantics of already issued stateless access tokens.
All versions of auth-jwt with dependencies
componenta/auth-http Version ^1.0
componenta/clock Version ^1.1.0
componenta/identity Version ^1.0.1
cycle/database Version ^2.22
ext-openssl Version *
lcobucci/jwt Version ^5.5
php Version ^8.4
psr/clock Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0