atproto_core/oauth/resource
A DPoP-authenticated resource request as an Effect: attach
Authorization: DPoP <token> and a proof bound to the request’s method,
URL, and access-token hash (ath), with the server-nonce retry. The ath
is a one-shot input the wrapper computes (a hash of the fixed access token),
so it comes in as a parameter; only the per-attempt proof is an effect.
Values
pub fn send(
req: request.Request(BitArray),
access_token access_token: String,
ath ath: String,
) -> effect.Effect(Result(response.Response(BitArray), String))