Skip to main content

Function: resolveHandle()

resolveHandle(handle): Promise<{ did: `did:${string}:${string}`; pdsEndpoint: string; }>

Defined in: web/lib/auth/oauth-client.ts:178

Resolve a handle to a DID and PDS endpoint.

Parameters

handle

string

ATProto handle (e.g., "alice.example.com")

Returns

Promise<{ did: `did:${string}:${string}`; pdsEndpoint: string; }>

DID and PDS endpoint

Remarks

Uses ATProto-standard handle resolution (HTTP .well-known + DNS TXT) to support any PDS, not just Bluesky.