WwwAuthenticate

A parsed WWW-Authenticate challenge: the auth scheme plus its parameters.

parseWwwAuthenticate populates the standard challenge fields (RFC 9728 §5.1 resource_metadata/scope and RFC 6750 §3.1 error/error_description) into params; the typed accessors below expose them without forcing consumers toward substring matching on the raw header.

@safe
struct WwwAuthenticate {
string scheme;
string[string] params;
}