comAtprotoTempDereferenceScope function

Future<XRPCResponse<TempDereferenceScopeOutput>> comAtprotoTempDereferenceScope({
  1. required String scope,
  2. required ServiceContext $ctx,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Allows finding the oauth permission scope from a reference

Implementation

Future<XRPCResponse<TempDereferenceScopeOutput>>
comAtprotoTempDereferenceScope({
  required String scope,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoTempDereferenceScope,
  headers: $headers,
  parameters: {...?$unknown, 'scope': scope},
  to: const TempDereferenceScopeOutputConverter().fromJson,
);