Msdata.SystCredentials (mscmp_syst_authn v0.1.0)

Hosts the credentials by which a user or external system will prove its identity.

Note that not all credential types are available for authentication with all identity types.

Defined in MscmpSystAuthn.

Summary

Functions

See MscmpSystAuthn.Impl.Msdata.SystCredentials.Validators.insert_changeset/1.

See MscmpSystAuthn.Impl.Msdata.SystCredentials.Validators.update_changeset/2.

Types

@type t() :: %Msdata.SystCredentials{
  __meta__: Ecto.Schema.Metadata.t(),
  access_account:
    Msdata.SystAccessAccounts.t() | Ecto.Association.NotLoaded.t() | nil,
  access_account_id: MscmpSystAuthn.Types.access_account_id() | nil,
  credential_data: String.t() | nil,
  credential_for_identity:
    Msdata.SystIdentities.t() | Ecto.Association.NotLoaded.t() | nil,
  credential_for_identity_id: MscmpSystAuthn.Types.identity_id() | nil,
  credential_type: t() | Ecto.Association.NotLoaded.t() | nil,
  credential_type_id: MscmpSystAuthn.Types.credential_type_id() | nil,
  diag_role_created: String.t() | nil,
  diag_role_modified: String.t() | nil,
  diag_row_version: integer() | nil,
  diag_timestamp_created: DateTime.t() | nil,
  diag_timestamp_modified: DateTime.t() | nil,
  diag_update_count: integer() | nil,
  diag_wallclock_modified: DateTime.t() | nil,
  force_reset: DateTime.t() | nil,
  id: Ecto.UUID.t() | nil,
  last_updated: DateTime.t() | nil
}

Functions

Link to this function

insert_changeset(insert_params)

See MscmpSystAuthn.Impl.Msdata.SystCredentials.Validators.insert_changeset/1.

Link to this function

update_changeset(credential, update_params)

@spec update_changeset(t(), MscmpSystAuthn.Types.credential_params()) ::
  Ecto.Changeset.t()

See MscmpSystAuthn.Impl.Msdata.SystCredentials.Validators.update_changeset/2.