Notifications Reference Backend developer Identity and accounts Authentication Notification Authenticate observe_auth_confirm_done/2 A user id has been confirmed. Type: notify Return: #auth_confirm_done{} properties: id: m_rsc:resource_id() Edit on GitHub
Notifications observe_auth_identity_types/3 Return the list of identity types that allow somebody to logon and become an active user of the system. Defaults to [ username_pw ]. In the…
Notifications observe_auth_postcheck/2 First for logon of user with username, called after successful password check.
Notifications observe_auth_validate/2 First to validate a password. Return {ok, RscId} or {error, Reason}.
Notifications observe_auth_precheck/2 First for logon of user with username, check for ratelimit, blocks etc.
Notifications observe_auth_logoff/3 User is about to log off. Modify (if needed) the logoff request context.
Notifications 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 a…
Modules mod_authentication This module contains the main Zotonic authentication mechanism. It contains the logon and logoff controllers, and implements the various…