pub struct DigestAccess { /* private fields */ }
Implementations§
Source§impl DigestAccess
impl DigestAccess
pub fn set_username<A: Into<String>>(&mut self, username: A)
pub fn set_password(&mut self, password: &str)
pub fn set_hashed_user_realm_password<A: Into<Vec<u8>>>(&mut self, hashed: A)
Generate the Authorization header value
pub fn nonce(&self) -> &str
pub fn cnonce() -> String
pub fn hash_user_realm_password<T: Digest>( username: &str, realm: &str, password: &str, ) -> Output<T>
Trait Implementations§
Source§impl Debug for DigestAccess
impl Debug for DigestAccess
Source§impl FromStr for DigestAccess
impl FromStr for DigestAccess
Source§impl<'a> TryFrom<&'a HeaderMap> for DigestAccess
impl<'a> TryFrom<&'a HeaderMap> for DigestAccess
Auto Trait Implementations§
impl Freeze for DigestAccess
impl RefUnwindSafe for DigestAccess
impl Send for DigestAccess
impl Sync for DigestAccess
impl Unpin for DigestAccess
impl UnwindSafe for DigestAccess
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more