pub struct ConfigSaml {Show 33 fields
pub enable: Option<bool>,
pub enable_sync_with_ldap: Option<bool>,
pub enable_sync_with_ldap_include_auth: Option<bool>,
pub ignore_guests_ldap_sync: Option<bool>,
pub verify: Option<bool>,
pub encrypt: Option<bool>,
pub sign_request: Option<bool>,
pub idp_url: Option<String>,
pub idp_descriptor_url: Option<String>,
pub idp_metadata_url: Option<String>,
pub service_provider_identifier: Option<String>,
pub assertion_consumer_service_url: Option<String>,
pub signature_algorithm: Option<String>,
pub canonical_algorithm: Option<String>,
pub scoping_idp_provider_id: Option<String>,
pub scoping_idp_name: Option<String>,
pub idp_certificate_file: Option<String>,
pub public_certificate_file: Option<String>,
pub private_key_file: Option<String>,
pub id_attribute: Option<String>,
pub enable_admin_attribute: Option<bool>,
pub admin_attribute: Option<String>,
pub first_name_attribute: Option<String>,
pub last_name_attribute: Option<String>,
pub email_attribute: Option<String>,
pub username_attribute: Option<String>,
pub nickname_attribute: Option<String>,
pub locale_attribute: Option<String>,
pub position_attribute: Option<String>,
pub login_button_text: Option<String>,
pub login_button_color: Option<String>,
pub login_button_border_color: Option<String>,
pub login_button_text_color: Option<String>,
}Fields§
§enable: Option<bool>Basic
enable_sync_with_ldap: Option<bool>§enable_sync_with_ldap_include_auth: Option<bool>§ignore_guests_ldap_sync: Option<bool>§verify: Option<bool>§encrypt: Option<bool>§sign_request: Option<bool>§idp_url: Option<String>§idp_descriptor_url: Option<String>§idp_metadata_url: Option<String>§service_provider_identifier: Option<String>§assertion_consumer_service_url: Option<String>§signature_algorithm: Option<String>§canonical_algorithm: Option<String>§scoping_idp_provider_id: Option<String>§scoping_idp_name: Option<String>§idp_certificate_file: Option<String>§public_certificate_file: Option<String>§private_key_file: Option<String>§id_attribute: Option<String>User Mapping
enable_admin_attribute: Option<bool>§admin_attribute: Option<String>§first_name_attribute: Option<String>§last_name_attribute: Option<String>§email_attribute: Option<String>§username_attribute: Option<String>§nickname_attribute: Option<String>§locale_attribute: Option<String>§position_attribute: Option<String>Implementations§
Source§impl ConfigSaml
impl ConfigSaml
Sourcepub fn enable(&self) -> bool
pub fn enable(&self) -> bool
Returns the value of enable, or the default value if enable is unset.
Sourcepub fn enable_sync_with_ldap(&self) -> bool
pub fn enable_sync_with_ldap(&self) -> bool
Returns the value of enable_sync_with_ldap, or the default value if enable_sync_with_ldap is unset.
Sourcepub fn enable_sync_with_ldap_include_auth(&self) -> bool
pub fn enable_sync_with_ldap_include_auth(&self) -> bool
Returns the value of enable_sync_with_ldap_include_auth, or the default value if enable_sync_with_ldap_include_auth is unset.
Sourcepub fn ignore_guests_ldap_sync(&self) -> bool
pub fn ignore_guests_ldap_sync(&self) -> bool
Returns the value of ignore_guests_ldap_sync, or the default value if ignore_guests_ldap_sync is unset.
Sourcepub fn verify(&self) -> bool
pub fn verify(&self) -> bool
Returns the value of verify, or the default value if verify is unset.
Sourcepub fn encrypt(&self) -> bool
pub fn encrypt(&self) -> bool
Returns the value of encrypt, or the default value if encrypt is unset.
Sourcepub fn sign_request(&self) -> bool
pub fn sign_request(&self) -> bool
Returns the value of sign_request, or the default value if sign_request is unset.
Sourcepub fn idp_url(&self) -> &str
pub fn idp_url(&self) -> &str
Returns the value of idp_url, or the default value if idp_url is unset.
Sourcepub fn idp_descriptor_url(&self) -> &str
pub fn idp_descriptor_url(&self) -> &str
Returns the value of idp_descriptor_url, or the default value if idp_descriptor_url is unset.
Sourcepub fn idp_metadata_url(&self) -> &str
pub fn idp_metadata_url(&self) -> &str
Returns the value of idp_metadata_url, or the default value if idp_metadata_url is unset.
Sourcepub fn service_provider_identifier(&self) -> &str
pub fn service_provider_identifier(&self) -> &str
Returns the value of service_provider_identifier, or the default value if service_provider_identifier is unset.
Sourcepub fn assertion_consumer_service_url(&self) -> &str
pub fn assertion_consumer_service_url(&self) -> &str
Returns the value of assertion_consumer_service_url, or the default value if assertion_consumer_service_url is unset.
Sourcepub fn signature_algorithm(&self) -> &str
pub fn signature_algorithm(&self) -> &str
Returns the value of signature_algorithm, or the default value if signature_algorithm is unset.
Sourcepub fn canonical_algorithm(&self) -> &str
pub fn canonical_algorithm(&self) -> &str
Returns the value of canonical_algorithm, or the default value if canonical_algorithm is unset.
Sourcepub fn scoping_idp_provider_id(&self) -> &str
pub fn scoping_idp_provider_id(&self) -> &str
Returns the value of scoping_idp_provider_id, or the default value if scoping_idp_provider_id is unset.
Sourcepub fn scoping_idp_name(&self) -> &str
pub fn scoping_idp_name(&self) -> &str
Returns the value of scoping_idp_name, or the default value if scoping_idp_name is unset.
Sourcepub fn idp_certificate_file(&self) -> &str
pub fn idp_certificate_file(&self) -> &str
Returns the value of idp_certificate_file, or the default value if idp_certificate_file is unset.
Sourcepub fn public_certificate_file(&self) -> &str
pub fn public_certificate_file(&self) -> &str
Returns the value of public_certificate_file, or the default value if public_certificate_file is unset.
Sourcepub fn private_key_file(&self) -> &str
pub fn private_key_file(&self) -> &str
Returns the value of private_key_file, or the default value if private_key_file is unset.
Sourcepub fn id_attribute(&self) -> &str
pub fn id_attribute(&self) -> &str
Returns the value of id_attribute, or the default value if id_attribute is unset.
Sourcepub fn enable_admin_attribute(&self) -> bool
pub fn enable_admin_attribute(&self) -> bool
Returns the value of enable_admin_attribute, or the default value if enable_admin_attribute is unset.
Sourcepub fn admin_attribute(&self) -> &str
pub fn admin_attribute(&self) -> &str
Returns the value of admin_attribute, or the default value if admin_attribute is unset.
Sourcepub fn first_name_attribute(&self) -> &str
pub fn first_name_attribute(&self) -> &str
Returns the value of first_name_attribute, or the default value if first_name_attribute is unset.
Sourcepub fn last_name_attribute(&self) -> &str
pub fn last_name_attribute(&self) -> &str
Returns the value of last_name_attribute, or the default value if last_name_attribute is unset.
Sourcepub fn email_attribute(&self) -> &str
pub fn email_attribute(&self) -> &str
Returns the value of email_attribute, or the default value if email_attribute is unset.
Sourcepub fn username_attribute(&self) -> &str
pub fn username_attribute(&self) -> &str
Returns the value of username_attribute, or the default value if username_attribute is unset.
Sourcepub fn nickname_attribute(&self) -> &str
pub fn nickname_attribute(&self) -> &str
Returns the value of nickname_attribute, or the default value if nickname_attribute is unset.
Sourcepub fn locale_attribute(&self) -> &str
pub fn locale_attribute(&self) -> &str
Returns the value of locale_attribute, or the default value if locale_attribute is unset.
Sourcepub fn position_attribute(&self) -> &str
pub fn position_attribute(&self) -> &str
Returns the value of position_attribute, or the default value if position_attribute is unset.
Returns the value of login_button_text, or the default value if login_button_text is unset.
Returns the value of login_button_color, or the default value if login_button_color is unset.
Returns the value of login_button_border_color, or the default value if login_button_border_color is unset.
Returns the value of login_button_text_color, or the default value if login_button_text_color is unset.
Trait Implementations§
Source§impl Clone for ConfigSaml
impl Clone for ConfigSaml
Source§fn clone(&self) -> ConfigSaml
fn clone(&self) -> ConfigSaml
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigSaml
impl Debug for ConfigSaml
Source§impl Default for ConfigSaml
impl Default for ConfigSaml
Source§impl<'de> Deserialize<'de> for ConfigSaml
impl<'de> Deserialize<'de> for ConfigSaml
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Message for ConfigSaml
impl Message for ConfigSaml
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ConfigSaml
impl PartialEq for ConfigSaml
Source§impl Serialize for ConfigSaml
impl Serialize for ConfigSaml
impl StructuralPartialEq for ConfigSaml
Auto Trait Implementations§
impl Freeze for ConfigSaml
impl RefUnwindSafe for ConfigSaml
impl Send for ConfigSaml
impl Sync for ConfigSaml
impl Unpin for ConfigSaml
impl UnwindSafe for ConfigSaml
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request