summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-05-30 05:25:50 +0000
committerChris McDonough <chrism@agendaless.com>2009-05-30 05:25:50 +0000
commitfcc272631432acdbc98131ee0c2113bdfef99e40 (patch)
tree018f9c400555a2de19981770477b7ed7bba4dbf6 /repoze/bfg/interfaces.py
parentdfc29c83390ee06afa904eee620b9d2dead2657b (diff)
downloadpyramid-fcc272631432acdbc98131ee0c2113bdfef99e40.tar.gz
pyramid-fcc272631432acdbc98131ee0c2113bdfef99e40.tar.bz2
pyramid-fcc272631432acdbc98131ee0c2113bdfef99e40.zip
- Add an AuthTktAuthenticationPolicy. This policy retrieves
credentials from an auth_tkt cookie managed by the application itself (instead of relying on an upstream data source for authentication data). See the Security API chapter of the documentation for more info. - Allow RemoteUserAuthenticationPolicy and RepozeWho1AuthenticationPolicy to accept various constructor arguments. See the Security API chapter of the documentation for more info.
Diffstat (limited to 'repoze/bfg/interfaces.py')
-rw-r--r--repoze/bfg/interfaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py
index c4bafbe20..282e3756a 100644
--- a/repoze/bfg/interfaces.py
+++ b/repoze/bfg/interfaces.py
@@ -212,7 +212,7 @@ class IRoutesContextFactory(Interface):
"""
class IAuthenticationPolicy(Interface):
- """ A multi-adapter on context and request """
+ """ An object representing a BFG authentication policy. """
def authenticated_userid(context, request):
""" Return the authenticated userid or ``None`` if no
authenticated userid can be found. """