module documentation
A renewable file-backed bearer.
This module composes a wrapped network nebius.aio.token.token.Bearer with a
ThrottledTokenCache to provide cached tokens that are refreshed from
the wrapped bearer when the cached token is close to expiration.
Classes
RenewableFileCacheReceiver-- A receiver that prefers the cached token when it's fresh, otherwise fetches a new token from the wrapped bearer and stores it in the cache.RenewableFileCacheBearer-- A bearer that composes an existingnebius.aio.token.token.Bearerinstance with a file-backed cache and exposes the renewable receiver.
| Class | |
Bearer that composes a wrapped bearer with a file-backed cache. |
| Class | |
Receiver that returns a cached token when safe, or refreshes it. |
| Variable | log |
Undocumented |