Struct www_authenticate::DigestChallenge[][src]

pub struct DigestChallenge {
    pub realm: Option<String>,
    pub domain: Option<Vec<Url>>,
    pub nonce: Option<String>,
    pub opaque: Option<String>,
    pub stale: Option<bool>,
    pub algorithm: Option<Algorithm>,
    pub qop: Option<Vec<Qop>>,
    pub userhash: Option<bool>,
}

The challenge for Digest authentication

Fields

realm of the authentication

domains of the authentication

the nonce used in authentiaction

a string data specified by the server

a flag indicating that the previous request from the client was rejected because the nonce value was stale.

the algorithm used to produce the digest and unkeyed digest. if not present, it is assumed to be Md5

"quality of protection" values supported by the server

this is an OPTIONAL parameter that is used by the server to indicate that it supports username hashing. default is false if not present

Trait Implementations

impl Debug for DigestChallenge
[src]

Formats the value using the given formatter. Read more

impl Clone for DigestChallenge
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DigestChallenge
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for DigestChallenge
[src]

impl Hash for DigestChallenge
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Challenge for DigestChallenge
[src]

Auto Trait Implementations