mise API - v0.0.0
    Preparing search index...

    Interface BackendSession

    What a backend tells the core about the session it serves.

    interface BackendSession {
        cwd_load(): Promise<string | null>;
        cwd_save(path: string): Promise<void>;
        home_get(): Promise<string>;
        identity_get(): Promise<SessionIdentity>;
        init(): Promise<void>;
        user_get(): Promise<string | null>;
    }
    Index
    • The working directory the identity left, or null when it has none stored.

      Returns Promise<string | null>

    • Prepares the backend's own state (configuration, stored credentials) before the session starts.

      Returns Promise<void>

    • The session's user as the backend last knew them, or null when it knows none.

      Returns Promise<string | null>