Take a large-file part upload URL from the pool, or null if none available.
Take an upload URL from the pool for the given bucket, or null if none available.
Discard all cached authorization state and upload URLs.
Remove a part upload URL from the pool after an error.
Remove an upload URL from the pool (e.g. after an upload error).
Smallest allowed part size for large file uploads, in bytes.
The authorized account ID.
Bucket ID the key is restricted to, or null if unrestricted.
Base URL for B2 API calls.
Return the current authorization response, or null if not authorized.
Current authorization token.
Base URL for file downloads.
Server-recommended part size for large file uploads, in bytes.
Base URL for the S3-compatible API.
Return a still-valid part upload URL to the pool for reuse.
Return a still-valid upload URL to the pool for reuse.
Store a fresh authorization response, replacing any previous state.
Stores B2 authorization state between requests. Implementations cache the authorize-account response and manage pools of reusable upload URLs (checkout/checkin/evict pattern).