atproto/oauth/runner

The sync runner for the OAuth effect kernel: a tail-recursive loop that interprets an Effect against a synchronous xrpc.Client and a gose DPoP key. run_readonly is for fetch-only flows (metadata discovery) that never sign a proof, so they need no key.

Values

pub fn run(
  effect: effect.Effect(a),
  client: xrpc.Client,
  key: gose.Key(String),
) -> a
pub fn run_readonly(
  effect: effect.Effect(a),
  client: xrpc.Client,
) -> a

Interpret a fetch-only effect (no DpopProof steps). The DpopProof branch is unreachable for such flows; it fails defensively rather than panicking.

Search Document