comAtprotoServerCheckAccountStatus function

Future<XRPCResponse<ServerCheckAccountStatusOutput>> comAtprotoServerCheckAccountStatus({
  1. required ServiceContext $ctx,
  2. Map<String, String>? $headers,
  3. Map<String, String>? $unknown,
})

Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.

Implementation

Future<XRPCResponse<ServerCheckAccountStatusOutput>>
comAtprotoServerCheckAccountStatus({
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoServerCheckAccountStatus,
  headers: $headers,
  parameters: {...?$unknown},
  to: const ServerCheckAccountStatusOutputConverter().fromJson,
);