atproto_core/identity
The Slingshot-compatible com.bad-example.identity.resolveMiniDoc
lookup, shared by every client package: URL shape, decoder, default
resolver, and an Effect-based resolve for the OAuth flow.
Types
pub type MiniDoc {
MiniDoc(did: String, pds: String)
}
Constructors
-
MiniDoc(did: String, pds: String)
Values
pub const default_resolver: String
pub fn mini_doc_decoder() -> decode.Decoder(MiniDoc)
pub fn mini_doc_url(
resolver: String,
identifier: String,
) -> String
The XRPC URL for resolveMiniDoc on resolver.
pub fn resolve_mini_doc(
resolver: String,
identifier: String,
) -> effect.Effect(Result(MiniDoc, xrpc.XrpcError))
Resolve as an Effect; sync and async clients make the same request
with their own Clients via mini_doc_url/mini_doc_decoder.