Metadata-Version: 2.1
Name: flask-auth-service-mongo
Version: 0.1.4
Summary: Flask JWT authentication package with mongo.
Home-page: https://gitlab.com/terminus-zinobe/flask-auth-service-mongo
Author: Terminus
Author-email: mateo.chaparro@zinobe.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: bcrypt (<4,>=3)
Requires-Dist: Cerberus (<2,>=1.3)
Requires-Dist: flask (<2,>=1)
Requires-Dist: PyJWT (<2,>=1.7)
Requires-Dist: mongoengine (<0.19,>=0.18)
Requires-Dist: radon (<5,>=4)
Requires-Dist: graphene (<3,>=2.1)
Requires-Dist: graphene-mongo (<0.3,>=0.2)

# 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)


