DatadeftAuth.PowVerification (datadeft_auth v0.6.1)

Copy Markdown

Solution verification outcome. On admitted: true, proof_cookie (redacted in Inspect) is the bearer value to set as the dd_pow cookie (HttpOnly, Secure, the configured proof TTL). Every failed check collapses into one admitted: false shape, so the application answers with a single generic "solve again" response. mint_to_verify_ms is the server-derived solve-timing signal for metrics and risk tagging, never for hard blocking.

Summary

Types

t()

@type t() :: %DatadeftAuth.PowVerification{
  admitted: boolean(),
  mint_to_verify_ms: non_neg_integer() | nil,
  proof_cookie: String.t() | nil
}