Protected ReadonlyloggerLogger instance for this service.
Protected ReadonlynameService name for logging.
Callback URI for OAuth flows, using the host editor's URI scheme.
Callback URI (e.g. vscode://extensionId/auth or windsurf://extensionId/auth).
Gets the current service state.
ProtectedassertDisposes the service and cleans up resources. Ensures disposal only happens once.
Get count of pending OAuth flows (for testing/debugging).
Number of currently pending OAuth flows.
Initializes the service. Ensures initialization only happens once and tracks state.
ProtectedonClean up OAuth flow manager.
ProtectedonInitialize OAuth flow manager and register URI handler.
Starts an OAuth authentication flow by generating a state parameter, opening the browser to the authorization URL, waiting for the callback, and returning the authentication token.
OAuth provider (github, google, or linkedin).
Promise that resolves with authentication token.
Manages OAuth authentication flows adapted for VS Code.
Unlike browser-based OAuth flows, VS Code requires: