comAtprotoIdentityResolveHandle function

Future<XRPCResponse<IdentityResolveHandleOutput>> comAtprotoIdentityResolveHandle({
  1. required String handle,
  2. required ServiceContext $ctx,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.

Implementation

Future<XRPCResponse<IdentityResolveHandleOutput>>
comAtprotoIdentityResolveHandle({
  required String handle,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoIdentityResolveHandle,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, 'handle': handle},
  to: const IdentityResolveHandleOutputConverter().fromJson,
);