SessionAuthenticationPolicy(prefix='auth.', callback=None, debug=False)¶
Session authentication policy which makes sure all responses get vary: Cookie.
Session has this key set to the timestamp when the user authentication happened. The key is removed when the user logs out.
User logs out or is forced to be forgotten.
remember(request, userid, **kw)¶
Store a userid in the session.
This is the timestamp when this session logged out last time
What is the user id for unauthenticated users.