Go to file
pyup.io bot d375b22f1b Scheduled weekly dependency update for week 09 (#135)
* Update pytest from 3.3.2 to 3.4.1

* Update coverage from 4.4.2 to 4.5.1

* Update sphinx from 1.6.6 to 1.7.1

* Update aiohttp-session from 2.1.0 to 2.3.0

* Update aioredis from 1.0.0 to 1.1.0

* Update aiohttp from 2.3.9 to 3.0.6
2018-03-05 19:38:35 +02:00
aiohttp_security Two trivial typos. (#129) 2018-02-01 10:50:58 +02:00
demo Update docs and demo with login required, has permission (#128) 2018-01-24 12:29:20 +02:00
docs Two trivial typos. (#129) 2018-02-01 10:50:58 +02:00
tests Switch to async/await syntax 2017-12-13 16:51:46 +02:00
.coveragerc Initial commit 2015-07-08 20:30:24 +03:00
.gitignore Initial commit 2015-07-08 20:30:24 +03:00
.pyup.yml Create .pyup.yml 2017-09-14 13:20:00 +03:00
.travis.yml Relax travis matrix 2018-02-26 17:50:56 +02:00
CHANGES.txt Bump to 0.2.0 2017-11-17 17:54:46 +02: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 Small updates in readme and docs (#125) 2018-01-03 12:09:11 +02:00
requirements-dev.txt Scheduled weekly dependency update for week 09 (#135) 2018-03-05 19:38:35 +02:00
setup.py Fix in demos related to async-await syntax (#123) 2018-01-02 14:31:19 +02:00

README.rst

aiohttp_security
================
.. image:: https://travis-ci.org/aio-libs/aiohttp-security.svg?branch=master
    :target: https://travis-ci.org/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:

:ref:`aiohttp-security-example`

:ref:`aiohttp-security-example-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.