TsgcHTTP_OAuth2_Client › Methods › Stop
Aborts any pending OAuth2 flow and shuts the local redirect server.
procedure Stop;
Cancels any in-progress authorization flow started by Start, stops the internal HTTP server listening on the redirect URL, and cancels device-code polling timers. Safe to call even if no flow is active. Call this when the user cancels the login, when the component is shutting down, or before reconfiguring the authentication type.
oAuth2.Stop;