flask_more_smorest.perms.jwt
Functions
|
Initialize JWTManager with user lookup callbacks. |
- flask_more_smorest.perms.jwt.init_jwt(app)[source]
Initialize JWTManager with user lookup callbacks.
- Parameters:
app (
Flask) – Flask application to initialize JWT for- Raises:
RuntimeError – If JWT_SECRET_KEY is not set in production (when DEBUG and TESTING are both False)
- Return type: