Skip to main content

format_www_authenticate

Function format_www_authenticate 

Source
pub fn format_www_authenticate(
    handshake_token: &str,
    hash: &str,
    data_b64: &str,
) -> String
Expand description

Format a Haystack WWW-Authenticate header for a SCRAM challenge.

Produces: SCRAM handshakeToken=<token>, hash=<hash>, data=<data_b64>