Skip to main content

check_authorization_tokens

Function check_authorization_tokens 

Source
fn check_authorization_tokens(
    parameters: &[KeyValuePair],
) -> Result<(), CodecError>
Expand description

Hold every AUTHORIZATION TOKEN parameter to the Token structure it names.

Section 8.9: “If the Token structure cannot be decoded, including an unknown Alias Type, the receiver MUST close the Session with MALFORMED_AUTH_TOKEN.” Both namespaces carry the type on this draft, and both reach here.