module documentation
A renewable file-backed bearer.
This module combines a network bearer with ThrottledTokenCache.
When a cached token is near expiration, it gets a new token from the bearer.
Classes
RenewableFileCacheReceiver-- A receiver that uses a fresh cached token. If the token is not fresh, it gets a new token from the wrapped bearer and stores the token 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 |