aiohttp-security

aiohttp-security

auth and permissions for aiohttp

Stars: 228

Visit
 screenshot

aiohttp_security is a library that provides identity and authorization for aiohttp.web. It offers features for handling authorization via cookies and supports aiohttp-session. The library includes examples for basic usage and database authentication, along with demos in the demo directory. For development, the library requires installation of specific requirements listed in the requirements-dev.txt file. aiohttp_security is licensed under the Apache 2 license.

README:

aiohttp_security

.. image:: https://travis-ci.com/aio-libs/aiohttp-security.svg?branch=master :target: https://travis-ci.com/aio-libs/aiohttp-security .. image:: https://codecov.io/github/aio-libs/aiohttp-security/coverage.svg?branch=master :target: https://codecov.io/github/aio-libs/aiohttp-security .. image:: https://readthedocs.org/projects/aiohttp-security/badge/?version=latest :target: https://aiohttp-security.readthedocs.io/ .. image:: https://img.shields.io/pypi/v/aiohttp-security.svg :target: https://pypi.python.org/pypi/aiohttp-security

The library provides identity and authorization for aiohttp.web__.

.. _aiohttp_web: http://aiohttp.readthedocs.org/en/latest/web.html

__ aiohttp_web_

Installation

Simplest case (authorization via cookies) ::

$ pip install aiohttp_security

With aiohttp-session support ::

$ pip install aiohttp_security[session]

Examples

Take a look at examples:

Basic example_

Example with DB auth_

.. _Basic example: docs/example.rst .. _Example with db auth: docs/example_db_auth.rst

and demos at demo directory.

Documentation

https://aiohttp-security.readthedocs.io/

Develop

pip install -r requirements-dev.txt

License

aiohttp_security is offered under the Apache 2 license.

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for aiohttp-security

Similar Open Source Tools

For similar tasks

For similar jobs