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
Release files for flask-auth-service-mongo 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_auth_service_mongo-0.1.8.tar.gz | 21.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_auth_service_mongo-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.0 kB
Release files / flask_auth_service_mongo-0.1.8.tar.gz
| Download URL | flask_auth_service_mongo-0.1.8.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
743ff988aa08f6833a8c75121f8b0e68e6b64b14f0e586acb14814b28900e014
|
|
BLAKE2b-256 checksum How to use checksums |
7e3e46b0b219f741a94605ec71c90dd536595fe2f9f46b6dd00155486d4d460b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / flask_auth_service_mongo-0.1.8-py3-none-any.whl
| Download URL | flask_auth_service_mongo-0.1.8-py3-none-any.whl |
|---|---|
| Size | 37.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f01cee2a20047c0d6eaa09bdece642d2215b33754bf25c435696afadeb3fdff
|
|
BLAKE2b-256 checksum How to use checksums |
fca9fee03dcfd9043b89bacdc6f293556c8fb6504ccbb1c3ad90a67fd3c747b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|