summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/view_classes
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@goodpoint.de>2014-03-03 16:24:31 +0100
committerRobert Buchholz <rbu@goodpoint.de>2014-03-03 16:24:31 +0100
commit76144dfae72a0a6d2bd33a414deb296937e90e49 (patch)
tree488c9e466fe070b89a81f4ba37ab4bdccbf9ca39 /docs/quick_tutorial/view_classes
parente175ffca6a3c005b61856d50802a289f0483cfb7 (diff)
downloadpyramid-76144dfae72a0a6d2bd33a414deb296937e90e49.tar.gz
pyramid-76144dfae72a0a6d2bd33a414deb296937e90e49.tar.bz2
pyramid-76144dfae72a0a6d2bd33a414deb296937e90e49.zip
Hand RepozeWho1AuthenticationPolicy.remember kwargs to repoze.who #1249
Documentation for pyramid.security.remember supports keyword arguments to hand over to the authentication policy. However, when using RepozeWho1AuthenticationPolicy, all of the kw were dropped in remember. It is my understanding that with repoze.who, additional configuration parameters shall be stored in the identity dictionary. In our case, setting the max_age parameter to the authtkt identifier, would be done using an identity {'repoze.who.userid':principal, 'max_age': 23}. It seems sensible just to hand over kw through the identity dictionary and all users to specify max_age or other parameters such as userdata.
Diffstat (limited to 'docs/quick_tutorial/view_classes')
0 files changed, 0 insertions, 0 deletions