pyramid_fullauth emits these events during whole cycle.
Execute custom code at the start of registration process.
Note
User object is not yet in session.
Initialize event.
Parameters: |
|
---|
Add custom post-processing code in registration process.
Can be used to add e.g. e-mail sending with registration links.
Note
User object is already in a session.
Note
Action emitting this event, should catch all HTTPFound that might be risen in event listener.
Warning
If HTTPFound is risen from event listener, then response_values will not be used!
Initialize event.
Parameters: |
|
---|
Add custom post-processing logic after user gets activated.
Note
Action emitting this event, should catch all HTTPFound that might be risen in event listener.
Initialize event.
Parameters: |
|
---|
Add custom post-processing after user sends request to reset password.
Note
Action emitting this event, should catch all HTTPFound that might be risen in event listener.
Initialize event.
Parameters: |
|
---|
Add custom post-processing after the actual reset-password process.
Note
Action emitting this event, should catch all HTTPFound that might be risen in event listener.
Initialize event.
Parameters: |
|
---|
Allow execute custom logic, when logged in user tries to log in again.
Note
Action emitting this event, should catch all HTTPFound that might be risen in event listener.
Initialize event.
Parameters: | request (pyramid.request.Request) – request object |
---|
Add custom logic before user gets logged in.
Note
Action emitting this event, should catch all AttributeError that might be risen in event listener. User param set to None when user is not found or request method is GET.
Initialize event.
Parameters: |
|
---|
Add custom logic after user logs in.
Initialize event.
Parameters: |
|
---|
Social registration/login¶
Adds custom logic before the social login process start.
Initialize base events.
Add custom logic after user registers through social network.
Note
Action emitting this event, should catch all HTTPFound that might be risen in event listener.
Initialize event.
Custom logic after user logs in through social network.
Note
Action emitting this event, should catch all HTTPFound that might be risen in event listener.
Initialize base events.
Allow to add custom logic, when someone tries to connect social account to second user in application.
Note
Action emitting this event, should catch all HTTPFound that might be risen in event listener.
Initialize event.