summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2019-05-12 10:55:01 -0700
committerTheron Luhn <theron@luhn.com>2019-05-12 10:55:01 -0700
commit08d5eddb2932a894fac03917508da95f480bfe7d (patch)
tree77e25e830e3e33a45b4b3608585a0c40d4081a46 /src
parentad611d2696701b611d2ef9dfe93567ecf6cb338d (diff)
downloadpyramid-08d5eddb2932a894fac03917508da95f480bfe7d.tar.gz
pyramid-08d5eddb2932a894fac03917508da95f480bfe7d.tar.bz2
pyramid-08d5eddb2932a894fac03917508da95f480bfe7d.zip
Rename request.identity to request.authenticated_identity.
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/security.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyramid/security.py b/src/pyramid/security.py
index 5d8e916d7..fd05746bd 100644
--- a/src/pyramid/security.py
+++ b/src/pyramid/security.py
@@ -279,7 +279,7 @@ class ACLAllowed(ACLPermitsResult, Allowed):
class SecurityAPIMixin(object):
@property
- def identity(self):
+ def authenticated_identity(self):
"""
Return an opaque object identifying the current user or ``None`` if no
user is authenticated or there is no :term:`security policy` in effect.