Datalayer VS Code Extension - v0.0.18
    Preparing search index...

    Class DatalayerAuthProvider

    Datalayer-based authentication provider for VS Code. Manages authentication state and provides event notifications for state changes.

    Hierarchy (View Summary)

    Implements

    Index
    logger: ILogger

    Logger instance for this service.

    name: string

    Service name for logging.

    onAuthStateChanged: Event<VSCodeAuthState> = ...

    Event fired when authentication state changes.

    • Login using OAuth provider. Opens browser for OAuth flow and handles callback.

      Parameters

      • provider: "github" | "google" | "linkedin"

        OAuth provider to authenticate with.

      Returns Promise<void>

    • Implementation of BaseService lifecycle initialization. Tries to restore session from Datalayer storage (OS keyring). Falls back to migrating from old VS Code secrets if found.

      Returns Promise<void>