summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-11-01 18:15:49 -0600
committerGitHub <noreply@github.com>2020-11-01 18:15:49 -0600
commit68a6cb1dba7944f1e214ca62ce700e3f7ddf618d (patch)
treea1d646c7feefb9a28347b9826829d4ad59730c46 /docs/tutorials/wiki/authorization.rst
parentc6772eadc18056b5eed90f6a694e53579ba403a4 (diff)
parent139462d451a1c35679b464690953333dd95389a1 (diff)
downloadpyramid-68a6cb1dba7944f1e214ca62ce700e3f7ddf618d.tar.gz
pyramid-68a6cb1dba7944f1e214ca62ce700e3f7ddf618d.tar.bz2
pyramid-68a6cb1dba7944f1e214ca62ce700e3f7ddf618d.zip
Merge pull request #3620 from luhn/identity-rename
Rename `ISecurityPolicy.authenticated_identity` to `identity`
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
-rw-r--r--docs/tutorials/wiki/authorization.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst
index 3c9913d8c..9c685639d 100644
--- a/docs/tutorials/wiki/authorization.rst
+++ b/docs/tutorials/wiki/authorization.rst
@@ -88,7 +88,7 @@ The security policy controls several aspects of authentication and authorization
Identifying logged-in users
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The ``MySecurityPolicy.authenticated_identity`` method inspects the ``request`` and determines if it came from an authenticated user.
+The ``MySecurityPolicy.identity`` method inspects the ``request`` and determines if it came from an authenticated user.
It does this by utilizing the :class:`pyramid.authentication.AuthTktCookieHelper` class which stores the :term:`identity` in a cryptographically-signed cookie.
If a ``request`` does contain an identity, then we perform a final check to determine if the user is valid in our current ``USERS`` store.