Work on doc

This commit is contained in:
Andrew Svetlov 2015-11-17 21:17:45 +02:00
parent ab81d73c34
commit 01ebd42d8f
2 changed files with 12 additions and 6 deletions

View File

@ -33,8 +33,14 @@
Authenticated user has no access rights, the system even has no Authenticated user has no access rights, the system even has no
knowledge is there the user still registered in DB. knowledge is there the user still registered in DB.
If :term:`request` has an :term:`identity` it means the user has If :class:`~aiohttp.web.Request` has an :term:`identity` it
some ID that should be checked by :term:`authorization` policy. means the user has some ID that should be checked by
:term:`authorization` policy.
authorization
Checking actual permissions for identified user along with
getting :term:`userid`.
identity identity
@ -42,10 +48,10 @@
Stored in local storage (client-side cookie or server-side storage). Stored in local storage (client-side cookie or server-side storage).
Use :coroutine:`~aiohttp_session.remember` for saving *identity* (sign in) Use :meth:`~aiohttp_session.remember` for saving *identity* (sign in)
and :coroutine:`~aiohttp_session.forget` for dropping it (sign out). and :meth:`~aiohttp_session.forget` for dropping it (sign out).
*identity* is used for getting :term:`userid` and :term:`permissions`. *identity* is used for getting :term:`userid` and :term:`permission`.
permission permission

View File

@ -19,7 +19,7 @@ Contents:
usage usage
reference reference
examples example
glossary glossary