pub struct SAMLConfiguration {
pub entity_id: Option<String>,
pub metadata_xml: Option<String>,
pub metadata_url: Option<String>,
pub attribute_mapping: Option<SAMLAttributeMappingSchema>,
}Expand description
SAML configuration details.
Fields§
§entity_id: Option<String>Entity ID.
metadata_xml: Option<String>SAML metadata XML.
metadata_url: Option<String>SAML metadata URL.
attribute_mapping: Option<SAMLAttributeMappingSchema>Attribute mapping configuration.
Implementations§
Source§impl SAMLConfiguration
impl SAMLConfiguration
Sourcepub fn builder() -> SAMLConfigurationBuilder<((), (), (), ())>
pub fn builder() -> SAMLConfigurationBuilder<((), (), (), ())>
Create a builder for building SAMLConfiguration.
On the builder, call .entity_id(...)(optional), .metadata_xml(...)(optional), .metadata_url(...)(optional), .attribute_mapping(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of SAMLConfiguration.
Trait Implementations§
Source§impl Clone for SAMLConfiguration
impl Clone for SAMLConfiguration
Source§fn clone(&self) -> SAMLConfiguration
fn clone(&self) -> SAMLConfiguration
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SAMLConfiguration
impl Debug for SAMLConfiguration
Source§impl<'de> Deserialize<'de> for SAMLConfiguration
impl<'de> Deserialize<'de> for SAMLConfiguration
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SAMLConfiguration
impl RefUnwindSafe for SAMLConfiguration
impl Send for SAMLConfiguration
impl Sync for SAMLConfiguration
impl Unpin for SAMLConfiguration
impl UnwindSafe for SAMLConfiguration
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)