pub mod aws_sigv4;
pub mod cram_md5;
pub mod digest;
pub mod ntlm;
pub mod scram;
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum AuthMethod {
Basic,
Bearer,
Digest,
Ntlm,
AnyAuth,
}
#[derive(Debug, Clone)]
pub struct AuthCredentials {
pub username: String,
pub password: String,
pub method: AuthMethod,
pub domain: Option<String>,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum ProxyAuthMethod {
Basic,
Digest,
Ntlm,
Any,
}
#[derive(Debug, Clone)]
pub struct ProxyAuthCredentials {
pub username: String,
pub password: String,
pub method: ProxyAuthMethod,
pub domain: Option<String>,
}