Theia API Documentation v1.77.0
    Preparing search index...

    Backend-only service. Credentials and client registration must never be exposed through RPC.

    interface ChatGptBackendAuthService {
        onAuthStateChanged: Event<ChatGptAuthState>;
        addClient(client: ChatGptAuthServiceClient): Disposable;
        cancelLogin(): Promise<void>;
        completeLogin(codeOrRedirectUrl: string): Promise<boolean>;
        getAuthState(): Promise<ChatGptAuthState>;
        getCredentials(): Promise<ChatGptCredentials | undefined>;
        signOut(): Promise<void>;
        startLogin(): Promise<ChatGptLoginSession>;
        waitForLogin(): Promise<boolean>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    onAuthStateChanged: Event<ChatGptAuthState>

    Emitted whenever the sign in state changes.