Download the PHP package fusionauth/jwt-auth-webtoken-provider without Composer
On this page you can find all versions of the php package fusionauth/jwt-auth-webtoken-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fusionauth/jwt-auth-webtoken-provider
More information about fusionauth/jwt-auth-webtoken-provider
Files in fusionauth/jwt-auth-webtoken-provider
Package jwt-auth-webtoken-provider
Short Description This package uses web-token/jwt-framework as a provider for tymon/jwtauth
License Apache-2.0
Homepage https://github.com/FusionAuth/laravel-jwt-auth-webtoken-provider
Informations about the package jwt-auth-webtoken-provider
PHP JWT Framework for Laravel
This library adds support to web-token/jwt-framework
as an alternative to lcobucci/jwt
in tymon/jwt-auth
, which is probably the most used Laravel package for JWT authentication.
The main goal here is to provide JWKS support instead of using public keys stored locally.
Installation
You can install this library via Composer.
Then, you should add one of PHP JWT Framework's Signature libraries according to the algorithm you want to use:
-
HMAC algorithms (
HS256
,HS384
orHS512
): -
RSASSA-PKCS1 v1_5 algorithms (
RS256
,RS384
orRS512
): - ECDSA algorithms (
ES256
,ES384
orES512
):
Usage
This requires composer 2.2 or greater.
Publish this package config file (which overrides the one from tymon/jwt-auth
):
Using JWKS
Instead of providing a local public key and use JWKS, edit your .env
file to add these lines:
Packagist
You can find this on https://packagist.org/packages/fusionauth/jwt-auth-webtoken-provider
This packagist listing is updated using a GitHub webhook.
Release
sb release
sb publish
Questions and support
If you have a question or support issue regarding this client library, we'd love to hear from you.
If you have a paid edition with support included, please open a ticket in your account portal. Learn more about paid editions here.
Otherwise, please post your question in the community forum.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/FusionAuth/fusionauth-laravel-jwt-auth-webtoken-provider.
License
This code is available as open source under the terms of the Apache v2.0 License.
All versions of jwt-auth-webtoken-provider with dependencies
tymon/jwt-auth Version ^2.0
web-token/jwt-core Version ^3.2
web-token/jwt-key-mgmt Version ^3.2
web-token/jwt-signature Version ^3.2