Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.43 KB

README.rst

File metadata and controls

63 lines (41 loc) · 1.43 KB

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.txt

License

aiohttp_security is offered under the Apache 2 license.

Changes

Now decorators

login_required, provide_user, has_permission

add user argument to function