From 81d78c671735eba4890ffd2470e9d6cd5a3d5ef7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 23 Jun 2009 17:38:29 +0000 Subject: Docstring. --- repoze/bfg/authentication.py | 9 +++++---- 1 file 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`` -- cgit v1.2.3