SqlMembershipProvider.Application (sql_membership_provider v0.4.0)

Struct for representing an application.

Link to this section Summary

Functions

Fetch an application by ID.

Fetch an application by case-insensitive application name.

Link to this section Types

Specs

t() :: %SqlMembershipProvider.Application{
  __meta__: Ecto.Schema.Metadata.t(),
  application_id: binary(),
  application_name: String.t(),
  description: String.t() | nil,
  lowered_application_name: String.t(),
  users: Ecto.Schema.has_many(SqlMembershipProvider.User.t())
}

Link to this section Functions

Link to this function

find_by_application_id(application_id)

Specs

find_by_application_id(String.t()) :: Ecto.Query.t()

Fetch an application by ID.

Link to this function

find_by_application_name(application_name)

Specs

find_by_application_name(String.t()) :: Ecto.Query.t()

Fetch an application by case-insensitive application name.