orizentic 1.0.0

A library for inerfacing with a JWT auth token database and a command line tool for managing it.
Documentation

The Orizentic token management library

This library provides a high level interface for authentication token management. It wraps around the JWT standard using the jsonwebtoken library for serialization and validation.

Functionality revolves around the relationship between a ClaimSet, a VerifiedToken, and an UnverifiedToken. A ClaimSet is considered informative and stores all of the information about the permissions and resources that the token bearer should have access to. VerifiedToken and UnverifiedToken are the result of the process of decoding a string JWT, and inherently specify whether the decoding process verified the signature, expiration time, and presence in the database.

This library does not currently contain database save and load features, but those are a likely upcoming feature.

No setup is necessary when using this library to decode JWT strings. Refer to the standalone decode_text function.