Private_Private_PrivatecontextProtected ReadonlyloggerLogger instance for this service
Protected ReadonlynameService name for logging
ReadonlyonEvent fired when authentication state changes.
PrivatesdkPrivate Static ReadonlyTOKEN_Gets the current service state.
ProtectedassertDisposes the service and cleans up resources. Ensures disposal only happens once.
Get current user (null if not authenticated).
Get authentication token from SDK.
Initializes the service. Ensures initialization only happens once and tracks state.
Check if currently authenticated.
Prompts user for token and authenticates with the platform. Updates authentication state based on the result.
Logout and clear authentication state.
ProtectedonImplementation of BaseService lifecycle disposal. Cleans up event emitters and auth state.
ProtectedonImplementation of BaseService lifecycle initialization. Verifies existing authentication with the platform.
PrivatepromptPrompt user for their Datalayer access token.
Shows authentication status with interactive options. Displays different options based on current authentication state. Includes help and feedback links for users.
SDK-based authentication provider for VS Code. Manages authentication state and provides event notifications for state changes.
Example