Validate rawUrl against the allow-list. Throws B2SsrfError if
the URL points at a literal IP, a known-internal hostname, a host outside
the allowed suffixes, or a non-HTTPS URL. Permissive (no-op) when no
suffixes have been configured yet.
The URL the caller is about to fetch.
Returns the current allowed-suffix list (for tests and diagnostics).
The currently-configured list of allowed host suffixes.
Lock the guard to the given host suffixes. A suffix matches a host
either exactly or as a *.suffix subdomain. For example,
backblazeb2.com allows api.backblazeb2.com and
s3.us-west-004.backblazeb2.com.
Passing an empty array disables the guard (used by the simulator and
other test setups). Production code should always lock the guard after
a successful b2_authorize_account.
Allowed host suffixes.
A URL allow-list that can be reconfigured after construction.