flask-auth-service-mongo-0.1.8
توضیحات
Flask JWT authentication package with mongo.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | flask-auth-service-mongo-0.1.8 |
| نام | flask-auth-service-mongo |
| نسخه کتابخانه | 0.1.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Terminus |
| ایمیل نویسنده | mateo.chaparro@zinobe.com |
| آدرس صفحه اصلی | https://gitlab.com/terminus-zinobe/flask-auth-service-mongo |
| آدرس اینترنتی | https://pypi.org/project/flask-auth-service-mongo/ |
| مجوز | - |
# Flask authentication service with mongo
Flask JWT authentication package with mongo.
## Installing
- Install and update using pip:
```shell
$ 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=
```
## Links
- [Documentation.](https://flask-auth-service-mongo.readthedocs.io/en/latest/index.html)
نیازمندی
| مقدار | نام |
|---|---|
| <4,>=3 | bcrypt |
| <2,>=1.3 | Cerberus |
| <2,>=1 | flask |
| <2,>=1.7 | PyJWT |
| <0.20,>=0.18 | mongoengine |
| <5,>=4 | radon |
| <3,>=2.1 | graphene |
| <0.3,>=0.2 | graphene-mongo |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl flask-auth-service-mongo-0.1.8:
pip install flask-auth-service-mongo-0.1.8.whl
نصب پکیج tar.gz flask-auth-service-mongo-0.1.8:
pip install flask-auth-service-mongo-0.1.8.tar.gz