Cancels the pending login attempt, if any.
Completes the pending login with a manually provided authorization code or the full redirect URL.
true if the sign in completed
Returns the current sign in state.
Removes the stored credentials.
Starts a new login attempt. Cancels a login attempt that is still pending.
the URL the user has to open and whether the local callback listener is available
Waits for the browser to deliver the authorization code to the local callback listener.
true if the sign in completed, false if it was cancelled or timed out
Service handling the OAuth 2.0 authorization code flow (with PKCE) used to access OpenAI models with a ChatGPT subscription instead of an API key.