user_context
Set #context fields depending on the user and/or the preferences of the user.
identity_password_match
Check if passwords are matching. Uses the password hashing algorithms.
identity_verification
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…
identity_verified
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…
logon_ready_page
Check where to go after a user logs on.
logon_submit
Handle a user logon. The posted query args are included. Return:: {ok, UserId} or {error, Reason}
set_user_language
Set the language of the context to a user’s prefered language
request_context
Refresh the context or request process for the given request or action Called for every request that is not anonymous and before every MQTT relay from the…
session_context
Refresh the context or request process for the given request or action Called for every request that is not anonymous and before every MQTT relay from the…
signup
Request a signup of a new or existing user. Arguments are similar to #signup_url{} Returns {ok, UserId} or {error, Reason}
signup_check
signup_check Check if the signup can be handled, a fold over all modules. Fold argument/result is {ok, Props, SignupProps} or {error, Reason}
signup_confirm
Signal that a user has been confirmed. (map, result is ignored)
signup_confirm_redirect
Fetch the page a user is redirected to after signing up with a confirmed identity
signup_done
Signal that a user has been signed up (map, result is ignored)
signup_failed_url
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
signup_url
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
user_is_enabled
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…
logon_options
Check for logon options, called if logon_submit returns undefined . This is used to fetch external (or local) authentication links for an username. Return::…
identity_update_done
Notify that a user’s identity has been updated by the identity model.

Survey notifications Notifications Other notifications