pub trait Authenticate {
    type Output: Future<Output = Result<Principal, ()>>;

    // Required method
    fn authenticate(&self, token: Option<String>) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn authenticate(&self, token: Option<String>) -> Self::Output

Implementors§