Skip to main content

parse_basic_auth_header

Function parse_basic_auth_header 

Source
pub fn parse_basic_auth_header(
    header_value: &str,
) -> Result<(String, String), CredsError>
Expand description

Parse a basic auth header value (“Basic base64(user:pass)”) with error handling.