close method
void
close()
Will close this BrowserOAuth2Flow object and the HTTP Client it is
using.
The clients obtained via clientViaUserConsent will continue to work.
The client obtained via newClient of obtained HybridFlowResult objects
will continue to work.
After this flow object and all obtained clients were closed the underlying HTTP client will be closed as well.
After calling this close method, calls to clientViaUserConsent,
obtainAccessCredentialsViaUserConsent and to newClient on returned
HybridFlowResult objects will fail.
Implementation
void close() {
_ensureOpen();
_wasClosed = true;
_client.close();
}