comAtprotoSpaceGetDelegationToken function
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>>
comAtprotoSpaceGetDelegationToken({
required String space,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoSpaceGetDelegationToken,
service: $service,
headers: $headers,
parameters: {...?$unknown, 'space': space},
to: const SpaceGetDelegationTokenOutputConverter().fromJson,
);