Go to file
dependabot-preview[bot] f58d9b5c7a Bump aiohttp-session from 2.8.0 to 2.9.0
Bumps [aiohttp-session](https://github.com/aio-libs/aiohttp_session) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/aio-libs/aiohttp_session/releases)
- [Changelog](https://github.com/aio-libs/aiohttp-session/blob/master/CHANGES.txt)
- [Commits](https://github.com/aio-libs/aiohttp_session/compare/v2.8.0...v2.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 08:50:33 +00:00
aiohttp_security Use request.config_dict for accessing to policies 2018-09-27 10:30:18 +03:00
demo Update to 0.3.0 2018-09-06 13:06:55 +03:00
docs [ImgBot] optimizes images (#191) 2018-10-06 22:40:24 +03:00
tests Update to 0.3.0 2018-09-06 13:06:55 +03:00
.coveragerc Initial commit 2015-07-08 20:30:24 +03:00
.gitignore Update to 0.3.0 2018-09-06 13:06:55 +03:00
.pyup.yml Create .pyup.yml 2017-09-14 13:20:00 +03:00
.travis.yml Reduce build matrix 2019-09-16 22:07:46 +03:00
CHANGES.txt Use request.config_dict for accessing to policies 2018-09-27 10:30:18 +03:00
LICENSE Fix years 2018-01-02 14:31:39 +02:00
MANIFEST.in Add manifest 2015-07-09 07:15:18 +03:00
Makefile Cleanup docs also 2015-09-02 13:41:41 -04:00
README.rst Fix badges in README 2018-09-27 10:36:27 +03:00
requirements-dev.txt Bump aiohttp-session from 2.8.0 to 2.9.0 2019-11-05 08:50:33 +00:00
setup.cfg Update to 0.3.0 2018-09-06 13:06:55 +03:00
setup.py Use request.config_dict for accessing to policies 2018-09-27 10:30:18 +03:00

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.