/aiohttp-security

auth and permissions for aiohttp

Primary LanguagePythonApache License 2.0Apache-2.0

aiohttp_security

https://travis-ci.org/aio-libs/aiohttp-security.svg?branch=master https://codecov.io/github/aio-libs/aiohttp-security/coverage.svg?branch=master https://readthedocs.org/projects/aiohttp-security/badge/?version=latest

The library provides identity and authorization for 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

and demos at demo directory.

Documentation

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

Develop

pip install -r requirements-dev

License

aiohttp_security is offered under the Apache 2 license.