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.

Maintainers

Package info

github.com/hendeavors/openjwt

pkg:composer/endeavors/openjwt

Statistics

Installs: 306

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2019-11-07 00:34 UTC

This package is not auto-updated.

Last update: 2026-03-03 22:16:16 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');