View Source API Reference Joken v2.6.1

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 overridden in tests.

Errors for the Joken API.

Behaviour for defining hooks into Joken's lifecycle.

Hook to demand claims presence.

Interface between Joken and JOSE for signing and verifying tokens.