Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Notifications
  • Reference
  • Backend developer
  • Identity and accounts
  • Authentication
  • Notification
  • Query

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 future more types can be requested, think of ‘contact’ - to be able to contact someone.

Type:

foldl

Return:

[ atom() ]

#auth_identity_types{} properties:

  • unknown: unknown

Edit on GitHub

Related documentation

Notifications

observe_auth_confirm_done/2

A user id has been confirmed.

Notifications

observe_auth_confirm/3

Confirm a user id.

Notifications

observe_identity_update_done/2

Notify that a user’s identity has been updated by the identity model.

Notifications

observe_signup_done/2

Signal that a user has been signed up (map, result is ignored)

Controllers

controller_logoff

Controller that logs off a user, destroying the session. It also removes any “remember me” cookies the user has, so that auto-logon is…

Notifications

observe_signup/2

Request a signup of a new or existing user. Arguments are similar to #signup_url{} Returns {ok, UserId} or {error, Reason}

Notifications

observe_media_identify_extension/2

Try to find a filename extension for a mime type (example: <<".jpg">> )

Notifications

observe_search_query/2

Map a custom search term to a #search_sql_term{} record.

Notifications

observe_auth_validate/2

First to validate a password. Return {ok, RscId} or {error, Reason}.

GitHub © 2026 Zotonic