Authentication notifications¶
auth_confirm_done¶
A user id has been confirmed.
- Type:
- notify
Return:
#auth_confirm_done{}
properties:
none
auth_logon¶
User logs on. Add user-related properties to the session.
- Type:
- foldl
- Return:
context{}
#auth_logon{}
properties:
none
auth_autologon¶
Check if automatic logon is enabled for this session. Sent for new
sessions from z_auth:logon_from_session/1
. Please note this notification
is sent for every single request.
- Type:
- first
- Return:
{ok, UserId}
when a user should be logged on.
#auth_autologon{}
properties:
none
auth_logoff¶
User is about to log off. Remove authentication from the current session.
- Type:
- foldl
- Return:
context{}
#auth_logoff{}
properties:
none