pub struct SamlConfigRequest {
pub idp_metadata_url: Option<String>,
pub idp_metadata_xml: Option<String>,
pub name_id_format: Option<String>,
pub enabled: bool,
pub allow_idp_initiated: Option<bool>,
}Fields§
§idp_metadata_url: Option<String>URL to fetch the IdP’s SAML metadata from (fetched server-side, SSRF-guarded). Provide this or idp_metadata_xml.
idp_metadata_xml: Option<String>the IdP’s SAML metadata XML, pasted directly. Provide this or idp_metadata_url.
name_id_format: Option<String>§enabled: bool§allow_idp_initiated: Option<bool>accept unsolicited (IdP-initiated) SAML responses, e.g. from an Okta "My Apps" or Entra app-launcher tile. Defaults to false when omitted. Unsolicited responses carry no InResponseTo, so they cannot be bound to a login this SP started and remain exposed to login-CSRF / session fixation (#589) — enable only if your IdP offers no SP-initiated entry point.
Implementations§
Source§impl SamlConfigRequest
impl SamlConfigRequest
pub fn new(enabled: bool) -> SamlConfigRequest
Trait Implementations§
Source§impl Clone for SamlConfigRequest
impl Clone for SamlConfigRequest
Source§fn clone(&self) -> SamlConfigRequest
fn clone(&self) -> SamlConfigRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SamlConfigRequest
impl Debug for SamlConfigRequest
Source§impl Default for SamlConfigRequest
impl Default for SamlConfigRequest
Source§fn default() -> SamlConfigRequest
fn default() -> SamlConfigRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SamlConfigRequest
impl<'de> Deserialize<'de> for SamlConfigRequest
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
Source§impl PartialEq for SamlConfigRequest
impl PartialEq for SamlConfigRequest
Source§impl Serialize for SamlConfigRequest
impl Serialize for SamlConfigRequest
impl StructuralPartialEq for SamlConfigRequest
Auto Trait Implementations§
impl Freeze for SamlConfigRequest
impl RefUnwindSafe for SamlConfigRequest
impl Send for SamlConfigRequest
impl Sync for SamlConfigRequest
impl Unpin for SamlConfigRequest
impl UnsafeUnpin for SamlConfigRequest
impl UnwindSafe for SamlConfigRequest
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
Mutably borrows from an owned value. Read more