pypast

Platform-Agnostic Security Tokens for Python


Keywords
past, security, stateless, tokens
License
MIT
Install
pip install pypast==0.0.1

Documentation

Platform-Agnostic Security Tokens for Python

This is an initial implementation of PAST: Platform-Agnostic Security Tokens for Python.

This is not yet production-ready; use at your own risk.

Encoding Example

from pypast import encode_auth
token = encode_auth(payload, key, footer)

Decoding Example

from pypast import decode
payload, footer = decode(token, key)