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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flask_auth_service_mongo-0.1.7b1.tar.gz.
File metadata
- Download URL: flask_auth_service_mongo-0.1.7b1.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bae236d078ad07a21f21e3c1e07f0f38e49ac849d710ff9321feb58dbe87bed1
|
|
| MD5 |
7437c809f0861232e74d32469895f926
|
|
| BLAKE2b-256 |
2b7da2bcde8f487ac1055c2c1c5366bc0b9c4836b293ae148e7aae0de6e32dc6
|
File details
Details for the file flask_auth_service_mongo-0.1.7b1-py3-none-any.whl.
File metadata
- Download URL: flask_auth_service_mongo-0.1.7b1-py3-none-any.whl
- Upload date:
- Size: 37.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edde835bb0a7d23aa69a677fc46d456d07af127d420a0d0fe036d71d5d43838e
|
|
| MD5 |
c855c61adb36159a1a62710ca66c0a7b
|
|
| BLAKE2b-256 |
e359640788a51f61c6015ef82ffa9f775a60776ac17a2872907c29c8523c92cb
|