diff options
| author | Chris McDonough <chrism@plope.com> | 2011-05-25 22:05:31 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-05-25 22:05:31 -0400 |
| commit | 2c65826a9d03282f7192ddee80f09a86d1033d98 (patch) | |
| tree | a8ee64f1ab1223619e19f3defff24e1b0d3ecc4f | |
| parent | 0ca4bbecb3fa95628145c1584bace639a66a6807 (diff) | |
| download | pyramid-2c65826a9d03282f7192ddee80f09a86d1033d98.tar.gz pyramid-2c65826a9d03282f7192ddee80f09a86d1033d98.tar.bz2 pyramid-2c65826a9d03282f7192ddee80f09a86d1033d98.zip | |
add docs about configuring a session factory for this authentication policy to work
| -rw-r--r-- | pyramid/authentication.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pyramid/authentication.py b/pyramid/authentication.py index e1384e0b8..d42843528 100644 --- a/pyramid/authentication.py +++ b/pyramid/authentication.py @@ -526,8 +526,10 @@ class AuthTktCookieHelper(object): return self._get_cookies(environ, cookie_value, max_age) class SessionAuthenticationPolicy(CallbackAuthenticationPolicy): - """ A :app:`Pyramid` authentication policy which gets its data from - the configured session. + """ A :app:`Pyramid` authentication policy which gets its data from the + configured :term:`session`. For this authentication policy to work, you + will have to follow the instructions in the :ref:`sessions_chapter` to + configure a :term:`session factory`. Constructor Arguments |
