Go to file
pyup.io bot 4c824c34c1 Scheduled weekly dependency update for week 23 (#166)
* Update pytest from 3.5.1 to 3.6.1

* Update sphinx from 1.7.4 to 1.7.5

* Update aiohttp from 3.2.1 to 3.3.1

* Update pyjwt from 1.6.3 to 1.6.4
2018-06-11 22:27:07 +03:00
aiohttp_security JWTIdentityPolicy polishing (#161) 2018-05-21 22:07:14 +03:00
demo Rewrite 'simple example' in docs, added it to demo dir (#154) 2018-04-26 12:15:12 +03:00
docs Rewrite 'simple example' in docs, added it to demo dir (#154) 2018-04-26 12:15:12 +03:00
tests JWTIdentityPolicy polishing (#161) 2018-05-21 22:07:14 +03: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 fix_readme (#143) 2018-04-06 21:29:38 +03:00
requirements-dev.txt Scheduled weekly dependency update for week 23 (#166) 2018-06-11 22:27:07 +03:00
setup.py fix setup to read version on windows (#145) 2018-04-11 14:20:01 +03: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:

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