comAtprotoIdentityResolveIdentity function

Future<XRPCResponse<IdentityInfo>> comAtprotoIdentityResolveIdentity({
  1. required String identifier,
  2. required ServiceContext $ctx,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).

Implementation

Future<XRPCResponse<IdentityInfo>> comAtprotoIdentityResolveIdentity({
  required String identifier,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoIdentityResolveIdentity,
  headers: $headers,
  parameters: {...?$unknown, 'identifier': identifier},
  to: const IdentityInfoConverter().fromJson,
);