Header-compatibility parser. Returns null only when the required primary header pair is absent/incomplete. Malformed optional pairs or conflicting duplicate headers throw CredentialResolutionError with a stable code.
Request-like object containing incoming headers.
A B2 configuration, or null when the primary header pair is absent.
CredentialResolutionError when supplied HTTP credentials are malformed.
Header-compatibility parser. Returns null only when the required primary header pair is absent/incomplete. Malformed optional pairs or conflicting duplicate headers throw CredentialResolutionError with a stable code.