Trait actix_loginmanager::UserMinix [−][src]
pub trait UserMinix: Sized { type Future: Future<Output = Option<Self>>; type Key: Serialize + DeserializeOwned; fn get_user(id: &Self::Key, req: &HttpRequest) -> Self::Future; fn get_id(&self) -> Self::Key; fn is_authenticated(&self) -> bool { ... } fn is_atived(&self) -> bool { ... } }
Associated Types
Required methods
fn get_user(id: &Self::Key, req: &HttpRequest) -> Self::Future