Welcome to Flask PASETO Extended¶
Flask-PASETO-Extended is a Flask extension to use PASETO (Platform-Agnostic Security Tokens) for several purposes.
It is built on top of PySETO which is a PASETO implementation and supports all of PASETO versions (v4, v3, v2 and v1) and purposes (local and public).
Currently, we provide the following classes for using PASETO with Flask.
PasetoCookieSessionInterface: Flask stores session information as a Cookie value. By using this class, you can serialize the session information as an encrypted PASETO.
PasetoLoginManager: By using this class together with Flask-Login, you can use PASETO for remember-me tokens which is also encoded into a Cookie value.
PasetoManager: This class can be used for verifying public (signed) PASETO. It is suitable for using PASETO as API tokens.