Trait soup::prelude::AuthDomainExt

source ·
pub trait AuthDomainExt: IsA<AuthDomain> + Sealed + 'static {
    // Provided methods
    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 { ... }
}

Provided Methods§

source

fn accepts(&self, msg: &ServerMessage) -> Option<GString>

source

fn add_path(&self, path: &str)

source

fn challenge(&self, msg: &ServerMessage)

source

fn check_password( &self, msg: &ServerMessage, username: &str, password: &str, ) -> bool

source

fn covers(&self, msg: &ServerMessage) -> bool

source

fn realm(&self) -> Option<GString>

source

fn remove_path(&self, path: &str)

source

fn set_filter<P: Fn(&AuthDomain, &ServerMessage) -> bool + 'static>( &self, filter: P, )

source

fn set_generic_auth_callback<P: Fn(&AuthDomain, &ServerMessage, &str) -> bool + 'static>( &self, auth_callback: P, )

source

fn is_proxy(&self) -> bool

source

fn connect_filter_data_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_generic_auth_data_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§