summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2014-02-27 16:10:48 -0500
committerMichael Merickel <michael@merickel.org>2014-02-27 16:10:48 -0500
commitea64faeeb7d30238fd7a9bc527aecd75f715fbc2 (patch)
treed17c7004390a53d1f3d7150948d8ffeb3ad77734
parent3c87ad81b0e846e7d61f86f8a5a6aff6ec3a2b9e (diff)
parent8b434dd3d40ed42639a73d9ba5a750732049a043 (diff)
downloadpyramid-ea64faeeb7d30238fd7a9bc527aecd75f715fbc2.tar.gz
pyramid-ea64faeeb7d30238fd7a9bc527aecd75f715fbc2.tar.bz2
pyramid-ea64faeeb7d30238fd7a9bc527aecd75f715fbc2.zip
Merge pull request #1250 from dobesv/patch-2
Add get_logout_headers to request
-rw-r--r--pyramid/security.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pyramid/security.py b/pyramid/security.py
index 848574233..aa4aece69 100644
--- a/pyramid/security.py
+++ b/pyramid/security.py
@@ -160,9 +160,6 @@ def forget(request):
If no :term:`authentication policy` is in use, this function will
always return an empty sequence.
-
- .. deprecated:: 1.5
- Use :meth:`pyramid.request.Request.get_logout_headers` instead.
"""
policy = _get_authentication_policy(request)
if policy is None:
@@ -354,7 +351,7 @@ class AuthenticationAPIMixin(object):
if policy is None:
return [Everyone]
return policy.effective_principals(self)
-
+
class AuthorizationAPIMixin(object):
def has_permission(self, permission, context=None):