Trait soup::prelude::AuthExt

source ·
pub trait AuthExt: IsA<Auth> + Sealed + 'static {
Show 23 methods // Provided methods fn authenticate(&self, username: &str, password: &str) { ... } fn can_authenticate(&self) -> bool { ... } fn cancel(&self) { ... } fn authority(&self) -> Option<GString> { ... } fn authorization(&self, msg: &Message) -> Option<GString> { ... } fn info(&self) -> Option<GString> { ... } fn protection_space(&self, source_uri: &Uri) -> Vec<GString> { ... } fn realm(&self) -> Option<GString> { ... } fn scheme_name(&self) -> Option<GString> { ... } fn is_authenticated(&self) -> bool { ... } fn is_cancelled(&self) -> bool { ... } fn is_for_proxy(&self) -> bool { ... } fn is_ready(&self, msg: &Message) -> bool { ... } fn update(&self, msg: &Message, auth_header: &str) -> bool { ... } fn set_authority(&self, authority: Option<&str>) { ... } fn set_is_for_proxy(&self, is_for_proxy: bool) { ... } fn set_realm(&self, realm: Option<&str>) { ... } fn connect_authority_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_authenticated_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_cancelled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_for_proxy_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_realm_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_scheme_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn authenticate(&self, username: &str, password: &str)

source

fn can_authenticate(&self) -> bool

source

fn cancel(&self)

source

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

source

fn authorization(&self, msg: &Message) -> Option<GString>

source

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

source

fn protection_space(&self, source_uri: &Uri) -> Vec<GString>

source

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

source

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

source

fn is_authenticated(&self) -> bool

source

fn is_cancelled(&self) -> bool

source

fn is_for_proxy(&self) -> bool

source

fn is_ready(&self, msg: &Message) -> bool

source

fn update(&self, msg: &Message, auth_header: &str) -> bool

source

fn set_authority(&self, authority: Option<&str>)

source

fn set_is_for_proxy(&self, is_for_proxy: bool)

source

fn set_realm(&self, realm: Option<&str>)

source

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

source

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

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Auth>> AuthExt for O