processResult static method
Process the Result from a auth Request You can call this manually if you are redirected to the app by an external browser
Implementation
static Future<void> processResult(Map<String, String> result) async {
var r = _requestsByState.remove(result['state'])!;
r.complete(result);
if (_requestsByState.isEmpty) {
for (var s in _requestServers.values) {
await (await s).close();
}
_requestServers.clear();
}
}