EzAuth.Accounts.Identity (EzAuth v0.1.0)

Copy Markdown View Source

Summary

Functions

Detects which identity (:email | :phone | nil) a typed value looks like, restricted to the accepts list. Naive shape match for UX feedback only.

Functions

changeset(user, type, value)

detect_identity(value, accepts)

Detects which identity (:email | :phone | nil) a typed value looks like, restricted to the accepts list. Naive shape match for UX feedback only.

update_verified_at_query(user, type, value)

verified_by_type_and_value_query(type, value)