summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-10-11 08:05:35 -0400
committerChris McDonough <chrism@plope.com>2011-10-11 08:05:35 -0400
commit99d77b9c7358c456fe3b12da7743f3fd3b6ce00b (patch)
tree5c1c6793bb1f749f4c0b605ff396d29ed79ae66c
parenta1bf6aebc57fd661d1f0f02b7d913db75fcb15c5 (diff)
downloadpyramid-99d77b9c7358c456fe3b12da7743f3fd3b6ce00b.tar.gz
pyramid-99d77b9c7358c456fe3b12da7743f3fd3b6ce00b.tar.bz2
pyramid-99d77b9c7358c456fe3b12da7743f3fd3b6ce00b.zip
docstring
-rw-r--r--pyramid/authentication.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyramid/authentication.py b/pyramid/authentication.py
index d17117055..ef64a361d 100644
--- a/pyramid/authentication.py
+++ b/pyramid/authentication.py
@@ -384,7 +384,8 @@ class AuthTktAuthenticationPolicy(CallbackAuthenticationPolicy):
return result['userid']
def remember(self, request, principal, **kw):
- """ Accepts the following kw args: ``max_age``."""
+ """ Accepts the following kw args: ``max_age=<int-seconds>,
+ ``tokens=<sequence-of-ascii-strings>``"""
return self.cookie.remember(request, principal, **kw)
def forget(self, request):