getServiceAuth method
Get a signed token on behalf of the requesting DID for the requested service.
https://atprotodart.com/docs/lexicons/com/atproto/server/getServiceAuth
Implementation
Future<XRPCResponse<GetServiceAuthOutput>> getServiceAuth({
required String aud,
int? exp,
NSID? lxm,
Map<String, String>? $unknown,
Map<String, String>? $headers,
GetClient? $client,
}) async =>
await _ctx.get<GetServiceAuthOutput>(
ns.comAtprotoServerGetServiceAuth,
headers: $headers,
parameters: {
'aud': aud,
if (exp != null) 'exp': exp.toString(),
if (lxm != null) 'lxm': lxm.toString(),
...?$unknown,
},
to: const GetServiceAuthOutputConverter().fromJson,
client: $client,
);