pub trait AuthDomainExt: 'static {
    fn accepts(&self, msg: &ServerMessage) -> Option<GString>;
    fn add_path(&self, path: &str);
    fn challenge(&self, msg: &ServerMessage);
    fn check_password(
        &self,
        msg: &ServerMessage,
        username: &str,
        password: &str
    ) -> bool; fn covers(&self, msg: &ServerMessage) -> bool; fn realm(&self) -> Option<GString>; fn remove_path(&self, path: &str); fn set_filter<P: Fn(&AuthDomain, &ServerMessage) -> bool + 'static>(
        &self,
        filter: P
    ); fn set_generic_auth_callback<P: Fn(&AuthDomain, &ServerMessage, &str) -> bool + 'static>(
        &self,
        auth_callback: P
    ); fn is_proxy(&self) -> bool; fn connect_filter_data_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_generic_auth_data_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods§

Implementors§