pub struct HttpAuth;Implementations§
Source§impl HttpAuth
impl HttpAuth
pub fn apply_auth( request: HttpRequest, credentials: &AuthCredentials, ) -> HttpRequest
pub fn parse_www_authenticate(header_value: &str) -> Option<AuthChallenge>
pub fn build_digest_response( challenge: &DigestChallenge, credentials: &AuthCredentials, method: &str, uri: &str, nc: u32, cnonce: &str, ) -> String
Auto Trait Implementations§
impl Freeze for HttpAuth
impl RefUnwindSafe for HttpAuth
impl Send for HttpAuth
impl Sync for HttpAuth
impl Unpin for HttpAuth
impl UnsafeUnpin for HttpAuth
impl UnwindSafe for HttpAuth
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