Overview of Flask-JWT-Extended features
mainFlask-JWT-Extended provides JSON Web Token (JWT) support for Flask applications to protect routes. It includes several optional features to simplify JWT management:
- Custom Claims: Add and validate custom data within tokens.
- Automatic User Loading: Access the authenticated user via
current_user. - Refresh Tokens: Support for issuing and using refresh tokens.
- Fresh Tokens: First-class support for identifying 'fresh' tokens, useful for authorizing sensitive operations.
- Token Revocation: Mechanisms for blocklisting/revoking tokens.
- Cookie Support: Ability to store tokens in cookies and provides built-in CSRF protection.