redacted_auth_command

Function redacted_auth_command 

Source
pub fn redacted_auth_command(
    sasl_mech: &str,
    has_initial_response: bool,
) -> String
Expand description

Render an AUTH command line with its SASL initial-response masked as REDACTED. When has_initial_response is false, the returned line is just the verb and mechanism, matching the wire form for a command with no initial-response.