Trait imap::Authenticator
source · pub trait Authenticator {
type Response: AsRef<[u8]>;
fn process(&self, challenge: &[u8]) -> Self::Response;
}
Expand description
This trait allows for pluggable authentication schemes. It is used by Client::authenticate
to
authenticate using SASL.