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

This package is not auto-updated.

Last update: 2022-05-17 05:17:40 UTC


Inspect or verify a JSON Web Token using various methods.


This library requires the use of Composer

  • Require this package with composer composer require endeavors/openjwt


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');