Permalink
Browse files

Merge pull request #1250 from dobesv/patch-2

Add get_logout_headers to request
  • Loading branch information...
2 parents 3c87ad8 + 8b434dd commit ea64faeeb7d30238fd7a9bc527aecd75f715fbc2 @mmerickel mmerickel committed Feb 27, 2014
Showing with 1 addition and 4 deletions.
  1. +1 −4 pyramid/security.py
View
@@ -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 @@ def effective_principals(self):
if policy is None:
return [Everyone]
return policy.effective_principals(self)
-
+
class AuthorizationAPIMixin(object):
def has_permission(self, permission, context=None):

0 comments on commit ea64fae

Please sign in to comment.