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
File details
Details for the file flask_auth_service_mongo-0.1.8.tar.gz
.
File metadata
- Download URL: flask_auth_service_mongo-0.1.8.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
743ff988aa08f6833a8c75121f8b0e68e6b64b14f0e586acb14814b28900e014
|
|
MD5 |
0ac9304ae8b6962a22ee919a1f18f37f
|
|
BLAKE2b-256 |
7e3e46b0b219f741a94605ec71c90dd536595fe2f9f46b6dd00155486d4d460b
|
File details
Details for the file flask_auth_service_mongo-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: flask_auth_service_mongo-0.1.8-py3-none-any.whl
- Upload date:
- Size: 37.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1f01cee2a20047c0d6eaa09bdece642d2215b33754bf25c435696afadeb3fdff
|
|
MD5 |
c47701d175bed5d38fde4cdb39dfbc0a
|
|
BLAKE2b-256 |
fca9fee03dcfd9043b89bacdc6f293556c8fb6504ccbb1c3ad90a67fd3c747b5
|