atproto/identity

Resolve a handle or DID to its PDS endpoint via an injected Slingshot-compatible resolveMiniDoc resolver. This is not native atproto identity resolution (DID doc / PLC / did:web / DNS); consumers depend on the resolver service being available. URL, decoder, and MiniDoc come from atproto_core/identity.

Types

pub type MiniDoc =
  identity.MiniDoc

Values

pub const default_resolver: String
pub fn resolve_mini_doc(
  client: xrpc.Client,
  resolver: String,
  identifier: String,
) -> Result(identity.MiniDoc, xrpc.XrpcError)
pub fn resolve_pds(
  client: xrpc.Client,
  resolver: String,
  identifier: String,
) -> Result(String, xrpc.XrpcError)
Search Document