endeavors / openjwt
There is no license information available for the latest version (dev-master) of this package.
Validate an id token. Shoud conform to ID Token Validation spec at openid.net.
dev-master
2019-11-07 00:34 UTC
Requires (Dev)
- firebase/php-jwt: ~5.0
- phpunit/phpunit: ~6.0
- symfony/var-dumper: ^3.4
This package is not auto-updated.
Last update: 2024-12-10 16:43:54 UTC
README
Inspect or verify a JSON Web Token using various methods.
Installation
This library requires the use of Composer
- Require this package with composer
composer require endeavors/openjwt
Inspecting
There are multiple ways to validate and inspect a JWT.
Inspecting without any validation:
use Endeavors\OpenJWT\Inspect; // ... $jwt = Inspect::jwt('yourjwt');
Inspecting validating the issuer:
use Endeavors\OpenJWT\Inspect; // ... $jwt = Inspect::issuer('yourjwt', 'yourissuer');