DatadeftAuth.Landing (datadeft_auth v0.6.1)

Copy Markdown

Scanner-safe landing outcome. confirm_cookie is the temporary flow state the application stores client-side (HttpOnly cookie); confirmation is the value the confirmation page submits. Both are secrets and are redacted in Inspect, as is the account identity. The answer shape is uniform for every unusable link.

Summary

Types

t()

Usable landings carry the flow secrets; unusable ones carry nothing.

Types

t()

@type t() :: %DatadeftAuth.Landing{
  account: String.t() | nil,
  confirm_cookie: String.t() | nil,
  confirmation: String.t() | nil,
  cookie_max_age_secs: non_neg_integer() | nil,
  usable: boolean()
}

Usable landings carry the flow secrets; unusable ones carry nothing.