Trait AuthController

Source
pub trait AuthController: Sync + Send {
    // Required method
    fn auth(
        self: Arc<Self>,
        toolbox: &ArcToolbox,
        header: String,
        conn: Arc<WsConnection>,
    ) -> LocalBoxFuture<'static, Result<()>>;
}

Required Methods§

Source

fn auth( self: Arc<Self>, toolbox: &ArcToolbox, header: String, conn: Arc<WsConnection>, ) -> LocalBoxFuture<'static, Result<()>>

Implementors§