Reads one named token only from the shared token-cache file.
This bearer cannot obtain or renew a missing token. It returns an empty token when the entry is absent or expired. It is mainly a building block for composed credential flows.
Returns a JSON-safe value for logs.
Creates a new pure file cache bearer.
Optionallogger: LoggerOptionalmetrics: AuthMetricsInputOptionalprovider: stringReadonly$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 credential name.
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 named token only from the shared token-cache file.
This bearer cannot obtain or renew a missing token. It returns an empty token when the entry is absent or expired. It is mainly a building block for composed credential flows.