Trait www_authenticate::Challenge [−][src]
pub trait Challenge: Clone { fn challenge_name() -> &'static str; fn from_raw(raw: RawChallenge) -> Option<Self>; fn into_raw(self) -> RawChallenge; }
The challenge described in
RFC7235.
Used in WWW-Authenticate
header.
Required Methods
fn challenge_name() -> &'static str
fn from_raw(raw: RawChallenge) -> Option<Self>
fn into_raw(self) -> RawChallenge
Implementors
impl Challenge for BasicChallenge
impl Challenge for DigestChallenge