summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-06-23 17:38:29 +0000
committerChris McDonough <chrism@agendaless.com>2009-06-23 17:38:29 +0000
commit81d78c671735eba4890ffd2470e9d6cd5a3d5ef7 (patch)
treeae5f5d2105a9d5d923cc4bee12f067b61d7cdf7d
parent0fa78ea6d1197bb31bb2dd08f749a9c772cbdec0 (diff)
downloadpyramid-81d78c671735eba4890ffd2470e9d6cd5a3d5ef7.tar.gz
pyramid-81d78c671735eba4890ffd2470e9d6cd5a3d5ef7.tar.bz2
pyramid-81d78c671735eba4890ffd2470e9d6cd5a3d5ef7.zip
Docstring.
-rw-r--r--repoze/bfg/authentication.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/repoze/bfg/authentication.py b/repoze/bfg/authentication.py
index 37f03cf8b..154934c45 100644
--- a/repoze/bfg/authentication.py
+++ b/repoze/bfg/authentication.py
@@ -167,10 +167,11 @@ class AuthTktAuthenticationPolicy(CallbackAuthenticationPolicy):
``callback``
- Default: ``None``. A callback passed the userid, expected to return
- None if the userid doesn't exist or a sequence of group identifiers
- (possibly empty) if the user does exist. If ``callback`` is None,
- the userid will be assumed to exist with no groups.
+ Default: ``None``. A callback passed the userid and the request,
+ expected to return None if the userid doesn't exist or a sequence
+ of group identifiers (possibly empty) if the user does exist. If
+ ``callback`` is None, the userid will be assumed to exist with no
+ groups.
``cookie_name``