Documentation
1
2
3
4
5
6
7
8
9
10
#![cfg_attr(docsrs, feature(doc_cfg))]

pub trait Auth: Send + Sync + 'static {
  fn verify(
    &self,
    host: &str,
    username: &str,
    password: &str,
  ) -> impl std::future::Future<Output = bool> + Send;
}