Joken v2.2.0 API Reference

Modules

Joken is a library for working with standard JSON Web Tokens.

Structure for a dynamic claim. It is used for holding functions that generate and validate claims.

Main entry point for configuring Joken. This module has two approaches

Behaviour for fetching current time

Time source for default time based claims. Can be overriden in tests.

Behaviour for defining hooks into Joken's lifecycle.

Hook to demand claims presence.

Interface between Joken and JOSE for signing and verifying tokens.

Exceptions

Errors for the Joken API.