Datalayer Desktop - v0.0.2
    Preparing search index...

    Authentication service interface. Manages user authentication and session state.

    interface IAuthService {
        state: ServiceState;
        dispose(): Promise<void>;
        getAuthState(): Promise<AuthState>;
        getCurrentUser(): null | UserJSON;
        initialize(): Promise<void>;
        isAuthenticated(): boolean;
        login(runUrl: string, token: string): Promise<UserJSON>;
        logout(): Promise<void>;
        onAuthStateChanged(callback: (change: AuthStateChange) => void): () => void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    Current state of the service.

    Methods