comAtprotoServerRefreshSession function
Future<XRPCResponse<ServerRefreshSessionOutput> >
comAtprotoServerRefreshSession({
- required ServiceContext $ctx,
- Map<
String, String> ? $headers,
Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').
Implementation
Future<XRPCResponse<ServerRefreshSessionOutput>>
comAtprotoServerRefreshSession({
required ServiceContext $ctx,
Map<String, String>? $headers,
}) async => await $ctx.post(
ns.comAtprotoServerRefreshSession,
headers: {...?$headers},
to: const ServerRefreshSessionOutputConverter().fromJson,
);