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

    Adapts a Bearer to the SDK authorization-provider interface.

    import { SDK } from '@nebius/js-sdk';
    import { TokenProvider } from '@nebius/js-sdk/runtime/authorization/token';
    import { EnvBearer } from '@nebius/js-sdk/runtime/token/static';

    const sdk = new SDK({
    credentials: new TokenProvider(new EnvBearer()),
    userAgentPrefix: 'example-application/1.0',
    });

    Implements

    Indexable

    • [key: symbol]: () => unknown

      Adapts a Bearer to the SDK authorization-provider interface.

        • (): unknown
        • Returns a JSON-safe value for logs.

          Returns unknown

    Index
    $type: "nebius.sdk.TokenProvider" = 'nebius.sdk.TokenProvider'

    Contains the fully qualified runtime type name.