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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c50128f2d9e9856ddbc8219e32c7f137c18ec6e7cf0eabb9a3241582c494a041 |
|
MD5 | 0ba4def9766ef9c2ede53c0c4ba3fc83 |
|
BLAKE2b-256 | b26f72d8602b3abef59e1787b17b2ea5ae7613bbfaa307bf6d1893998741f876 |
Close
Hashes for flask_auth_service_mongo-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe52fd56107600a0e7c63bff12719ae1fb9d7349805b286ca21e552479d2f7a |
|
MD5 | 3ed7b384dc48f27dd769e6cdab331e69 |
|
BLAKE2b-256 | d2e72a835c295dcf7c656382f549c3162e28298cb4aff86541a1c40d494968b5 |