cancel method
cancel the ongoing auth flow, i.e. when the user closed the webview/browser without a successful login
Implementation
Future<void> cancel() async {
final state = flow.authenticationUri.queryParameters['state'];
_requestsByState[state!]?.completeError(Exception('Flow was cancelled'));
final server = await _requestServers.remove(port)!;
await server.close();
}