Flask JWT authentication package with mongo.
Project description
Flask authentication service with mongo
Flask JWT authentication package with mongo.
Installing
- Install and update using pip:
$ pip3 install -U flask-auth-service-mongo
Configuration
- Define the following environment variables
- (str) Key with which the token is generated
SECRET_KEY=
- (bool) Turn the token whitelist on or off
WHITE_LIST_TOKEN=
- (int) Minimum username length
USERNAME_MIN_LENGTH=
- (int) Minimum password length
PASSWORD_MIN_LENGTH=
- (int) Minutes in which the token will expire
TOKEN_EXPIRE_MINUTES=
- (int) Length of the password generated in the reset
RESET_PASSWORD_LEN_GENERATOR=
- (bool) Default value for auth.required(require_password_change)
REQUIRE_PASSWORD_CHANGE=
- (str) Key with which the token is generated
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for flask_auth_service_mongo-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c63c7a9039246800147979147d8917bc48365002761d0bd5a95f9c38a6527c8f |
|
MD5 | b7f2d66df5ca18aa31b139c276656700 |
|
BLAKE2b-256 | f1de9ac15a2405e211cf7bba852c1d7fc323f09f483486e4d75e14dc2fa2b7b9 |
Close
Hashes for flask_auth_service_mongo-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a6cb56dad8094ff34887fffedcf1fb296e791a2f4c195880b4b75ac8dffadcf |
|
MD5 | a6f21e9981305dfd61eec8036233293e |
|
BLAKE2b-256 | 944cdcd996dda4e25a876957c836ee3fa19c1c4dc87f226dacaa3d0ca76e9607 |