You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
dependabot-preview[bot] 3298ff4e7c
Bump sphinx from 3.4.0 to 3.4.1 (#377)
12 months ago
aiohttp_security Use request.config_dict for accessing to policies 3 years ago
demo hash is a reserved symbol name (#282) 2 years ago
docs hash is a reserved symbol name (#282) 2 years ago
tests Update to 0.3.0 3 years ago
.coveragerc Initial commit 7 years ago
.gitignore Update to 0.3.0 3 years ago
.pyup.yml Create .pyup.yml 4 years ago
.travis.yml Reduce build matrix 2 years ago
CHANGES.txt Use request.config_dict for accessing to policies 3 years ago
LICENSE Fix years 4 years ago
MANIFEST.in Add manifest 7 years ago
Makefile Cleanup docs also 6 years ago
README.rst Fix badges in README 3 years ago
requirements-dev.txt Bump sphinx from 3.4.0 to 3.4.1 (#377) 12 months ago
setup.cfg Update to 0.3.0 3 years ago
setup.py Use request.config_dict for accessing to policies 3 years ago

README.rst

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.