Skip to main content

Function: resolveHandle()

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

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

Resolve a handle to a DID and PDS endpoint.

Parameters

handle

string

ATProto handle (e.g., "alice.bsky.social")

Returns

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

DID and PDS endpoint