Notifications Reference Backend developer Identity and accounts Authentication Notification Authenticate observe_auth_confirm/3 Confirm a user id. Type: foldl Return: z:context() #auth_confirm{} 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…
Notifications observe_auth_reset/2 First to check for password reset forms, return undefined, ok, or {error, Reason}.