Auth package

Auth.auth module

The authentication module: Authentication for admins.

Provides globals and functionality to support the applications authentication and encryption needs.

Src.Auth.auth.bcrypt = <flask_bcrypt.Bcrypt object>

Encryption global

Src.Auth.auth.jwt = <flask_jwt_extended.jwt_manager.JWTManager object>

JWT management global

Src.Auth.auth.reset_jwt(app)[source]

Resets the Flask applications JWT secret key, in order to revoke all currently issued JWT authentication tokens.

Parameters:

app (Flask applicaton) – The current flask application to reset the JWT secret key for