View Source Glific.Partners.Credential (Glific v5.1.6)

Organization's credentials

Link to this section Summary

Functions

Standard changeset pattern we use for all data types

Link to this section Types

@type t() :: %Glific.Partners.Credential{
  __meta__: Ecto.Schema.Metadata.t(),
  id: non_neg_integer() | nil,
  inserted_at: :utc_datetime | nil,
  is_active: boolean(),
  is_valid: boolean(),
  keys: map() | nil,
  organization:
    Glific.Partners.Organization.t() | Ecto.Association.NotLoaded.t() | nil,
  organization_id: non_neg_integer() | nil,
  provider: Glific.Partners.Provider.t() | Ecto.Association.NotLoaded.t() | nil,
  provider_id: non_neg_integer() | nil,
  secrets: map() | nil,
  updated_at: :utc_datetime | nil
}

Link to this section Functions

Link to this function

changeset(credential, attrs)

View Source
@spec changeset(t(), map()) :: Ecto.Changeset.t()

Standard changeset pattern we use for all data types