diff options
| author | Steve Piercy <web@stevepiercy.com> | 2021-01-10 01:02:30 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2021-01-10 01:02:30 -0800 |
| commit | 485a4515fc22ed45327513e9b830e6ae08b7c495 (patch) | |
| tree | 024d83f21b9367b09c30f491ecde247be95f086f /docs/tutorials/wiki2/authentication.rst | |
| parent | 3623f35b75231d05fb67406aeec0681b35f96480 (diff) | |
| download | pyramid-485a4515fc22ed45327513e9b830e6ae08b7c495.tar.gz pyramid-485a4515fc22ed45327513e9b830e6ae08b7c495.tar.bz2 pyramid-485a4515fc22ed45327513e9b830e6ae08b7c495.zip | |
grammar fix
Diffstat (limited to 'docs/tutorials/wiki2/authentication.rst')
| -rw-r--r-- | docs/tutorials/wiki2/authentication.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/authentication.rst b/docs/tutorials/wiki2/authentication.rst index a798e7748..e8a770491 100644 --- a/docs/tutorials/wiki2/authentication.rst +++ b/docs/tutorials/wiki2/authentication.rst @@ -40,7 +40,7 @@ Update ``tutorial/security.py`` with the following content: :linenos: :language: python -Here we've defined a new security policy named ``MySecurityPolicy``, which is implementing most of the :class:`pyramid.interfaces.ISecurityPolicy` interface by tracking a :term:`identity` using a signed cookie implemented by :class:`pyramid.authentication.AuthTktCookieHelper` (lines 8-34). +Here we've defined a new security policy named ``MySecurityPolicy``, which is implementing most of the :class:`pyramid.interfaces.ISecurityPolicy` interface by tracking an :term:`identity` using a signed cookie implemented by :class:`pyramid.authentication.AuthTktCookieHelper` (lines 8-34). The security policy outputs the authenticated ``tutorial.models.User`` object for the logged-in user as the :term:`identity`, which is available as ``request.identity``. Our new :term:`security policy` defines how our application will remember, forget, and identify users. |
