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.7b4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce35e1866f1a5af3ac8ce1921ae6f5450823ec61afda303a657a7923fdbb605d |
|
MD5 | 0d9bddda5842a6a9851903318a19ec9d |
|
BLAKE2b-256 | dcaaaad963104ceb0485effe9ef90445e6699b73661bdc33a947df8f0b798018 |
Close
Hashes for flask_auth_service_mongo-0.1.7b4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4baea58c779a9af116af765fbb5f1916a0c1c164015597002ce4a2ec4e533126 |
|
MD5 | 1bab71cdc5a1a474e35c8ec51c52ff02 |
|
BLAKE2b-256 | f087710947778e0e91051b7fedb64f216756440382aba8ac5a7107f1256a857c |