getServiceAuth method

Future<XRPCResponse<ServerGetServiceAuthOutput>> getServiceAuth({
  1. required String aud,
  2. int? exp,
  3. String? lxm,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Get a signed token on behalf of the requesting DID for the requested service.

Implementation

Future<XRPCResponse<ServerGetServiceAuthOutput>> getServiceAuth({
  required String aud,
  int? exp,
  String? lxm,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoServerGetServiceAuth(
  aud: aud,
  exp: exp,
  lxm: lxm,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);