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

    Class NamedBearer

    Adds a stable name to another bearer without changing how it gets tokens.

    Names identify entries in shared token caches. Do not put access tokens, private keys, or other secrets in a name.

    Hierarchy (View Summary)

    Indexable

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

      Adds a stable name to another bearer without changing how it gets tokens.

      Names identify entries in shared token caches. Do not put access tokens, private keys, or other secrets in a name.

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

          Returns unknown

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

    Contains the fully qualified runtime type name.

    • get metricProvider(): string

      Returns the provider name for authorization metrics.

      Returns string

    • get name(): string | undefined

      Returns the credential name.

      Returns string | undefined

    • Stops owned background work and closes the wrapped bearer.

      Parameters

      • OptionalgraceMs: number

      Returns Promise<void>