observe_user_context/3
Set #context fields depending on the user and/or the preferences of the user.
observe_identity_password_match/2
Check if passwords are matching. Uses the password hashing algorithms.
observe_identity_verification/2
Request to send a verification to the user. Return ok or an error. Handled by mod_signup to send out verification emails. Identity may be undefined, or is an…
observe_identity_verified/2
Notify that a user’s identity has been verified. Signals to modules handling identities to mark this identity as verified. Handled by mod_admin_identity to…
observe_logon_ready_page/2
Check where to go after a user logs on.
observe_logon_submit/2
Handle a user logon. The posted query args are included. Return:: {ok, UserId} or {error, Reason}
observe_set_user_language/2
Set the language of the context to a user’s prefered language
observe_request_context/3
Refresh the context or request process for the given request or action
observe_session_context/3
Refresh the context or request process for the given request or action
observe_signup/2
Request a signup of a new or existing user. Arguments are similar to #signup_url\{\} Returns \{ok, UserId\} or \{error, Reason\}
observe_signup_check/3
signup_check Check if the signup can be handled, a fold over all modules. Fold argument/result is \{ok, Props, SignupProps\} or \{error, Reason\}
observe_signup_confirm/2
Signal that a user has been confirmed. (map, result is ignored)
observe_signup_confirm_redirect/2
Fetch the page a user is redirected to after signing up with a confirmed identity
observe_signup_done/2
Signal that a user has been signed up (map, result is ignored)
observe_signup_failed_url/2
Signup failed, give the error page URL. Return \{ok, Url\} or undefined. Reason is returned by the signup handler for the particular signup method (username
observe_signup_url/2
Handle a signup of a user, return the follow on page for after the signup. Return {ok, Url} ‘props’ is a map with properties for the person resource (email
observe_user_is_enabled/2
Check if a user is enabled. Enabled users are allowed to log in. Return true , false or undefined . If undefined is returned, the user is considered enabled if…
observe_logon_options/3
Check for logon options, called if logon_submit returns undefined. This is used to fetch external (or local) authentication links for an username. Return:: map…
observe_identity_update_done/2
Notify that a user’s identity has been updated by the identity model.

Survey notifications Notifications Other notifications