refreshSession function
Future<XRPCResponse<RefreshSessionOutput> >
refreshSession({
- Protocol? $protocol,
- String? $service,
- RetryConfig? $retryConfig,
- Map<
String, String> ? $unknown, - Map<
String, String> ? $headers, - PostClient? $client,
Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').
https://atprotodart.com/docs/lexicons/com/atproto/server/refreshSession
Implementation
Future<XRPCResponse<RefreshSessionOutput>> refreshSession({
Protocol? $protocol,
String? $service,
RetryConfig? $retryConfig,
Map<String, String>? $unknown,
Map<String, String>? $headers,
PostClient? $client,
}) async =>
await _$Fn(
protocol: $protocol,
service: $service,
retryConfig: $retryConfig,
).refreshSession(
$unknown: $unknown,
$headers: $headers,
$client: $client,
);