fn check_authorization_tokens(
parameters: &[KeyValuePair],
) -> Result<(), CodecError>Expand description
Hold every AUTHORIZATION TOKEN parameter to the Token structure it names.
Section 9.2.1.1: “If the Token structure cannot be decoded, the receiver MUST close the Session with Key-Value Formatting error.” That is the answer Section 1.4.2 gives for any Type whose value does not match the serialization that Type defines; the Token is the one structure this draft spells out, and the only parameter value in it that is more than opaque bytes.
Both namespaces carry the type on this draft, and both reach here.
A type this draft cannot name is left alone. The rule is conditional on the receiver understanding the Type, and an extension’s parameter carries bytes no rule here describes.