Latch.Request (latch v0.5.0)

Copy Markdown

An in-flight atproto OAuth authorization request, keyed by state.

Latch stores this via Latch.Store at the start of a login (authorize/2) and consumes it, single use, in callback/2.

Summary

Types

t()

@type t() :: %Latch.Request{
  did: String.t(),
  dpop_key: map(),
  handle: String.t(),
  issuer: String.t(),
  pds_endpoint: String.t(),
  pkce_verifier: String.t(),
  state: String.t(),
  token_endpoint: String.t()
}