Create an auth manager for one credential set.
B2 credential and runtime configuration.
Return cached auth or share one in-flight authorize call.
Cached or fresh B2 auth.
Return the official SDK client with valid authorization metadata.
Authorized SDK client and flattened auth metadata.
Return the immutable runtime config for this auth manager.
B2 runtime configuration.
Invalidate cached auth and clear the SDK account cache.
Auth cache around one official B2 SDK client for one resolved credential set.
Remarks
B2 authorization tokens are valid for 24 hours. The manager caches them for 23 hours, deduplicates concurrent authorize calls, syncs auth refreshed by the SDK, and invalidates on 401 retry paths in the B2 client boundary.