pub struct ServerConfig {
    pub bind_address: String,
    pub public_hostname: String,
    pub tls_cert_path: String,
    pub tls_key_path: String,
    pub entity_id: String,
    pub sp_metadata_files: Option<Vec<&'static str>>,
    pub sp_metadata: HashMap<String, ServiceProvider>,
    pub session_lifetime: u128,
    pub saml_cert_path: String,
    pub saml_key_path: String,
    pub saml_signing_key: Option<PKey<Private>>,
    pub saml_signing_cert: Option<X509>,
}

Fields

bind_address: Stringpublic_hostname: Stringtls_cert_path: Stringtls_key_path: Stringentity_id: Stringsp_metadata_files: Option<Vec<&'static str>>sp_metadata: HashMap<String, ServiceProvider>session_lifetime: u128saml_cert_path: Stringsaml_key_path: Stringsaml_signing_key: Option<PKey<Private>>saml_signing_cert: Option<X509>

Implementations

Pass this a filename (with or without extension) and it’ll choose from JSON/YAML/TOML etc and also check environment variables starting with SAML_

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.