Reads one fixed access token from an environment variable.
The constructor reads the variable immediately. It throws NoTokenInEnvError when the variable is missing or empty.
Returns a JSON-safe value for logs.
Reads the token from envVarName, which defaults to NEBIUS_TOKEN.
Readonly$typeContains the fully qualified runtime type name.
Returns the provider name for authorization metrics.
Returns the stable credential name used by file-backed token caches.
Most bearers do not have a name. Wrappers can add one with NamedBearer.
Returns the next bearer in a wrapper chain, when this bearer wraps another source.
Returns a JSON-safe value for logs.
Stops owned background work and closes the wrapped bearer.
OptionalgraceMs: numberCreates a token receiver.
Reads one fixed access token from an environment variable.
The constructor reads the variable immediately. It throws NoTokenInEnvError when the variable is missing or empty.