refreshSession function
Future<XRPCResponse<Session> >
refreshSession({
- required String refreshJwt,
- Protocol? protocol,
- String? service,
- RetryStrategy? retryConfig,
- PostClient? client,
Implementation
Future<core.XRPCResponse<core.Session>> refreshSession({
required String refreshJwt,
core.Protocol? protocol,
String? service,
core.RetryStrategy? retryConfig,
final core.PostClient? client,
}) async => _toSessionResponse(
await comAtprotoServerRefreshSession(
$headers: {'Authorization': 'Bearer $refreshJwt'},
$ctx: core.ServiceContext(
protocol: protocol,
service: service,
retryConfig: retryConfig,
postClient: client,
),
),
);