authorizeSpaceSync method

Future<XRPCResponse<SpaceAuthorizeSpaceSyncOutput>> authorizeSpaceSync({
  1. required String space,
  2. required String credentialKey,
  3. String? delegationToken,
  4. String? clientAttestation,
  5. Notify? notify,
  6. String? $service,
  7. Map<String, String>? $headers,
  8. Map<String, String>? $unknown,
})

Authorize syncing a space, returning a new credential for reading data across it and the space's current revision, and optionally registering for notifications of updates to it. Depending on the space's policy, a delegation token and/or client attestation may be required. Implemented by the space host.

Implementation

Future<XRPCResponse<SpaceAuthorizeSpaceSyncOutput>> authorizeSpaceSync({
  required String space,
  required String credentialKey,
  String? delegationToken,
  String? clientAttestation,
  Notify? notify,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSpaceAuthorizeSpaceSync(
  space: space,
  credentialKey: credentialKey,
  delegationToken: delegationToken,
  clientAttestation: clientAttestation,
  notify: notify,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);