sql_membership_provider v0.1.0 SqlMembershipProvider.Profile

Struct for representing a user's profile information that may contain arbitrary properties

Link to this section Summary

Functions

Fetch a profile by user id.

Parse a profile's property fields into a map.

Link to this section Types

Link to this type

t()

t() :: %SqlMembershipProvider.Profile{
  last_updated_date: tuple(),
  property_names: String.t(),
  property_values_string: String.t(),
  user_id: String.t()
}

Link to this section Functions

Link to this function

find_by_user_id(pid, user_id)

find_by_user_id(atom() | pid(), String.t()) ::
  SqlMembershipProvider.Profile.t() | nil

Fetch a profile by user id.

Link to this function

properties(profile)

Parse a profile's property fields into a map.