executeRefresh method
Forces a refresh; failures that are exceptions are swallowed.
Implementation
@Deprecated('Use validToken(rejected: ...).')
Future<void> executeRefresh() async {
final tokens = await _engine.current();
if (tokens == null) {
return;
}
try {
await _engine.validToken(rejected: tokens);
} on Exception catch (_) {
// Exceptions show in the state. 0.1 caught everything (`catch (e)`); an
// Error, such as a TypeError from a delegate, now propagates.
}
}