@runloop/remote-agents-sdk
    Preparing search index...

    Type Alias LoginAccountParams

    LoginAccountParams:
        | { apiKey: string; type: "apiKey" }
        | {
            appBrand?: LoginAppBrand | null;
            codexStreamlinedLogin?: boolean;
            type: "chatgpt";
            useHostedLoginSuccessPage?: boolean;
        }
        | { type: "chatgptDeviceCode" }
        | {
            accessToken: string;
            chatgptAccountId: string;
            chatgptPlanType?: string | null;
            type: "chatgptAuthTokens";
        }

    Type Declaration

    • { apiKey: string; type: "apiKey" }
    • {
          appBrand?: LoginAppBrand | null;
          codexStreamlinedLogin?: boolean;
          type: "chatgpt";
          useHostedLoginSuccessPage?: boolean;
      }
    • { type: "chatgptDeviceCode" }
    • {
          accessToken: string;
          chatgptAccountId: string;
          chatgptPlanType?: string | null;
          type: "chatgptAuthTokens";
      }
      • accessToken: string

        Access token (JWT) supplied by the client. This token is used for backend API requests and email extraction.

      • chatgptAccountId: string

        Workspace/account identifier supplied by the client.

      • OptionalchatgptPlanType?: string | null

        Optional plan type supplied by the client.

        When null, Codex attempts to derive the plan type from access-token claims. If unavailable, the plan defaults to unknown.

      • type: "chatgptAuthTokens"