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.

Types

pub type MiniDoc {
  MiniDoc(did: String, pds: String)
}

Constructors

  • MiniDoc(did: String, pds: String)

Values

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