getDelegationToken method

Future<XRPCResponse<SpaceGetDelegationTokenOutput>> getDelegationToken({
  1. required String space,
  2. String? $service,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Get a delegation token for a space, to exchange with the space host for a space credential. Requires auth, implemented by PDS.

Implementation

Future<XRPCResponse<SpaceGetDelegationTokenOutput>> getDelegationToken({
  required String space,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSpaceGetDelegationToken(
  space: space,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);