Trait synd_api::serve::layer::authenticate::Authenticate
source · pub trait Authenticate {
type Output: Future<Output = Result<Principal, ()>>;
// Required method
fn authenticate(&self, token: Option<String>) -> Self::Output;
}