Struct http_auth::PasswordClientBuilder [−][src]
pub struct PasswordClientBuilder { /* fields omitted */ }Expand description
Builds a PasswordClient from the supplied challenges.
Prefers Digest over Basic, consistent with the RFC 7235 section
2.1 advice
for a user-agent to pick the most secure auth-scheme it understands.
When there are multiple Digest challenges, currently uses the first,
consistent with the RFC 7616 section
3.7
advice to “use the first challenge it supports, unless a local policy
dictates otherwise”. In the future, it may prioritize by algorithm.
Implementations
This is supported on crate feature http only.
This is supported on crate feature
http only.Considers all challenges from the given http::HeaderValue challenge list.
Considers all challenges from the given &str challenge list.
Considers a single challenge.
Returns a new PasswordClient or fails.
Trait Implementations
Returns the “default value” for a type. Read more