SigilGuard.Identity.Binding (SigilGuard v0.2.0)

View Source

Identity binding linking a provider credential to a trust level.

Matches the IdentityBinding struct from the sigil-protocol Rust crate (v0.1.5).

Fields

  • :provider — identity provider name ("google", "eidas", "did:key", etc.)
  • :id — provider-specific user identifier
  • :trust_level — trust level granted by this binding (:low, :medium, :high)
  • :bound_at — ISO 8601 timestamp when the binding was established

Example

%SigilGuard.Identity.Binding{
  provider: "google",
  id: "user@example.com",
  trust_level: :medium,
  bound_at: "2026-03-02T10:00:00.000Z"
}

Summary

Types

t()

@type t() :: %SigilGuard.Identity.Binding{
  bound_at: String.t() | nil,
  id: String.t() | nil,
  provider: String.t() | nil,
  trust_level: SigilGuard.Identity.trust_level() | nil
}