Reads access_token and expires_at from an HTTP token endpoint for each acquisition.
Reads access_token and expires_at from an HTTP token endpoint for each acquisition.
Returns a JSON-safe value for logs.
Creates an HTTP metadata token source. Throws if the endpoint is not a valid HTTP(S) URL or the retry options are invalid.
Readonly$typeContains the fully qualified runtime type name.
Returns the budget for one token acquisition, in milliseconds.
undefined means no declared budget. A non-positive value means an immediate
failure. A cache asks only its immediate source. Transparent wrappers must
forward this value; wrappers that add work must compose it.
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: numberFetches a token. Retries HTTP 429 and 5xx responses within one timeout budget.
OptionaltimeoutMs: numberCreates a token receiver.
Reads access_token and expires_at from an HTTP token endpoint for each acquisition.