confirmRegistration method

Future<XRPCResponse<SpaceConfirmRegistrationOutput>> confirmRegistration({
  1. required String space,
  2. required String token,
  3. required String challenge,
  4. String? $service,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Confirm a new notification registration. Called by the space host on an endpoint passed to authorizeSpaceSync, before registering it. The syncing service checks that it issued the token for the space, and echoes back the challenge.

Implementation

Future<XRPCResponse<SpaceConfirmRegistrationOutput>> confirmRegistration({
  required String space,
  required String token,
  required String challenge,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSpaceConfirmRegistration(
  space: space,
  token: token,
  challenge: challenge,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);