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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires componenta/auth Version ^3.0
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package componenta/auth-jwt contains the following files

Loading the files please wait ...