https://github.com/meyt/microhttp-auth
Role based JWT stateless/ful authentication module for microhttp.
https://github.com/meyt/microhttp-auth
Last synced: 10 months ago
JSON representation
Role based JWT stateless/ful authentication module for microhttp.
- Host: GitHub
- URL: https://github.com/meyt/microhttp-auth
- Owner: meyt
- License: mit
- Created: 2018-12-21T22:07:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-27T18:27:22.000Z (almost 7 years ago)
- Last Synced: 2025-01-19T10:09:11.198Z (11 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
microhttp-auth
==============
.. image:: https://img.shields.io/pypi/pyversions/microhttp-auth.svg
:target: https://pypi.python.org/pypi/microhttp-auth
.. image:: https://travis-ci.org/meyt/microhttp-auth.svg?branch=master
:target: https://travis-ci.org/meyt/microhttp-auth
.. image:: https://coveralls.io/repos/github/meyt/microhttp-auth/badge.svg?branch=master
:target: https://coveralls.io/github/meyt/microhttp-auth?branch=master
Role based JWT stateless/ful authentication module for
`microhttp `_.
Install
-------
.. code-block:: bash
pip install microhttp-auth
Note: Need to setup ``redis`` database, if using stateful authenticator.
Configuration
-------------
.. code-block:: yaml
auth:
jwt_secret_key:
jwt_algorithm: # Algorithm supported by pyjwt
redis: # Redis configuration [optional]
host:
port: