Optional ReadonlyaccountStorage backend for authorization state. Defaults to InMemoryAccountInfo.
Optional ReadonlyallowedOverride the SSRF allow-list. By default the SDK locks the
FetchTransport to host suffixes derived from the realm's authorize
response (e.g. backblazeb2.com, backblaze.com) so a compromised B2
endpoint cannot redirect the SDK to internal services. Pass an explicit
list to add hosts (e.g. when testing against a self-hosted proxy) or set
to an empty array to disable the guard entirely (not recommended).
Only consulted when B2ClientOptions.transport is unset; a custom transport is the user's responsibility to harden.
ReadonlyapplicationThe application key secret.
ReadonlyapplicationThe application key ID from the B2 dashboard or b2_create_key.
Optional ReadonlyrealmB2 realm to authenticate against. Defaults to "production".
Optional ReadonlyretryOverride retry behavior (max retries, backoff, jitter).
Optional ReadonlytransportCustom HTTP transport. Defaults to FetchTransport. Wrapped by RetryTransport.
Optional ReadonlyuserCustom user-agent string prepended to the SDK default.
Configuration options for creating a B2Client.