@nebius/js-sdk - v0.2.54
    Preparing search index...

    Type Alias FederationCredentialsOptions

    Defines direct federation credentials.

    Use these options when you do not use a CLI ConfigReaderLike. The first token request can open a browser and wait for the user to sign in.

    type FederationCredentialsOptions = {
        clientId: string;
        federationEndpoint: string;
        federationId: string;
        noBrowserOpen?: boolean;
        profileName: string;
        timeoutMs?: number;
        type: "federation";
        writer?: (s: string) => void;
    }
    Index
    clientId: string

    Identifies the OAuth client.

    federationEndpoint: string

    Sets the federation API endpoint.

    federationId: string

    Identifies the federation.

    noBrowserOpen?: boolean

    Prevents the SDK from opening a browser.

    profileName: string

    Identifies the local profile.

    timeoutMs?: number

    Limits browser authorization in milliseconds.

    type: "federation"

    Selects federation credentials.

    writer?: (s: string) => void

    Receives browser authorization instructions.

    Type Declaration

      • (s: string): void
      • Receives browser authorization instructions.

        Parameters

        • s: string

        Returns void