ClientConfig

Trait ClientConfig 

Source
pub trait ClientConfig {
    // Required methods
    fn client_id(&self) -> String;
    fn client_secret(&self) -> String;
    fn redirect_url(&self) -> Option<String>;
    fn issuer_url(&self) -> Result<Url>;
    fn tls_insecure(&self) -> bool;
    fn tls_ca_certificates(&self) -> Vec<String>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl ClientConfig for (&AuthenticatorGlobalConfig, &AuthenticatorClientConfig)

Source§

fn issuer_url(&self) -> Result<Url>

Get the issuer URL, either the client’s URL, or the global one.

Source§

fn client_id(&self) -> String

Source§

fn client_secret(&self) -> String

Source§

fn redirect_url(&self) -> Option<String>

Source§

fn tls_insecure(&self) -> bool

Source§

fn tls_ca_certificates(&self) -> Vec<String>

Implementors§