Trait Challenge
actix_web_httpauth::headers::www_authenticate
pub trait Challenge: IntoHeaderValue + Debug + Display + Clone + Send + Sync { fn to_bytes(&self) -> Bytes; }
Authentication challenge for WWW-Authenticate header.
WWW-Authenticate
fn to_bytes(&self) -> Bytes
Converts the challenge into a bytes suitable for HTTP transmission.