[][src]Trait gstreamer_rtsp_server::prelude::RTSPAuthExt

pub trait RTSPAuthExt: 'static {
    pub fn add_basic(&self, basic: &str, token: &RTSPToken);
pub fn add_digest(&self, user: &str, pass: &str, token: &RTSPToken);
pub fn get_default_token(&self) -> Option<RTSPToken>;
pub fn get_realm(&self) -> Option<GString>;
pub fn get_supported_methods(&self) -> RTSPAuthMethod;
pub fn get_tls_authentication_mode(&self) -> TlsAuthenticationMode;
pub fn get_tls_certificate(&self) -> Option<TlsCertificate>;
pub fn get_tls_database(&self) -> Option<TlsDatabase>;
pub fn parse_htdigest<P: AsRef<Path>>(
        &self,
        path: P,
        token: &RTSPToken
    ) -> bool;
pub fn remove_basic(&self, basic: &str);
pub fn remove_digest(&self, user: &str);
pub fn set_realm(&self, realm: &str);
pub fn set_supported_methods(&self, methods: RTSPAuthMethod);
pub fn set_tls_authentication_mode(&self, mode: TlsAuthenticationMode);
pub fn set_tls_certificate<P: IsA<TlsCertificate>>(&self, cert: Option<&P>);
pub fn set_tls_database<P: IsA<TlsDatabase>>(&self, database: Option<&P>);
pub fn connect_accept_certificate<F: Fn(&Self, &TlsConnection, &TlsCertificate, TlsCertificateFlags) -> bool + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

pub fn add_basic(&self, basic: &str, token: &RTSPToken)[src]

pub fn add_digest(&self, user: &str, pass: &str, token: &RTSPToken)[src]

pub fn get_default_token(&self) -> Option<RTSPToken>[src]

pub fn get_realm(&self) -> Option<GString>[src]

pub fn get_supported_methods(&self) -> RTSPAuthMethod[src]

pub fn get_tls_authentication_mode(&self) -> TlsAuthenticationMode[src]

pub fn get_tls_certificate(&self) -> Option<TlsCertificate>[src]

pub fn get_tls_database(&self) -> Option<TlsDatabase>[src]

pub fn parse_htdigest<P: AsRef<Path>>(&self, path: P, token: &RTSPToken) -> bool[src]

pub fn remove_basic(&self, basic: &str)[src]

pub fn remove_digest(&self, user: &str)[src]

pub fn set_realm(&self, realm: &str)[src]

pub fn set_supported_methods(&self, methods: RTSPAuthMethod)[src]

pub fn set_tls_authentication_mode(&self, mode: TlsAuthenticationMode)[src]

pub fn set_tls_certificate<P: IsA<TlsCertificate>>(&self, cert: Option<&P>)[src]

pub fn set_tls_database<P: IsA<TlsDatabase>>(&self, database: Option<&P>)[src]

pub fn connect_accept_certificate<F: Fn(&Self, &TlsConnection, &TlsCertificate, TlsCertificateFlags) -> bool + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<RTSPAuth>> RTSPAuthExt for O[src]

Loading content...