These method gets added to each pyramid.request.Request object.
- pyramid_fullauth.request.login_perform(request, user, location=None, remember_me=False)¶
Perform login action.
Log user out.
Parameters: request (pyramid.request.Request) – a request object
Return user object.
When called for the first time, it queries for user, which is later available as a pure property overriding this method. See pyramid_fullauth.includeme() for logic behind property.
Returns: logged in user object, or None Return type: pyramid_fullauth.models.User