JSON Web TokenJSON Web Token
Home
Documentation
GitHub
  • English
  • 简体中文
Home
Documentation
GitHub
  • English
  • 简体中文
JSON Web Token

JSON Web Token

A simple library to work with JSON Web Token and JSON Web Signature.

Builder

The token builder defines a fluent interface for plain token creation.

Claims formatter

You may customise and even create your own formatters.

Parser

The token parser defines how a JWT string should be converted into token objects.

Signer

The signer defines how to create and verify signatures.

Key

The key object is passed down to signers and provide the necessary information to create and verify signatures.

Validator

The token validator defines how to apply validation constraint to either validate or assert tokens.

Copyright © 2025