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

    Interface GetCredentialsOptions

    Gives a configuration reader the runtime context needed to create credentials.

    Custom readers can ignore options that do not apply to their credential type.

    interface GetCredentialsOptions {
        logger?: Logger;
        noBrowserOpen?: boolean;
        sdk?: SDKInterface | Promise<SDKInterface> | null;
        sslCtxUnused?: unknown;
        timeoutMs?: number;
        writer?: (s: string) => void;
    }
    Index
    logger?: Logger

    Supplies a child logger for credential activity.

    noBrowserOpen?: boolean

    Specifies whether to prevent the automatic browser launch.

    sdk?: SDKInterface | Promise<SDKInterface> | null

    Supplies the SDK used for token exchange and shared TLS roots.

    A reader must support null. Some callers can supply a promise while SDK initialization is still in progress.

    sslCtxUnused?: unknown

    Preserves compatibility with the Python SDK. This option is not used.

    timeoutMs?: number

    Sets the credential timeout in milliseconds.

    writer?: (s: string) => void

    Receives federation sign-in instructions for the user.

    Type Declaration

      • (s: string): void
      • Receives federation sign-in instructions for the user.

        Parameters

        • s: string

        Returns void