pub struct Builder { /* private fields */ }
Expand description
A builder for SamlConfigOptions
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn metadata(self, input: impl Into<String>) -> Self
pub fn metadata(self, input: impl Into<String>) -> Self
The XML IdP metadata file generated from your identity provider.
sourcepub fn set_metadata(self, input: Option<String>) -> Self
pub fn set_metadata(self, input: Option<String>) -> Self
The XML IdP metadata file generated from your identity provider.
sourcepub fn user_attribute(self, input: impl Into<String>) -> Self
pub fn user_attribute(self, input: impl Into<String>) -> Self
A user attribute for this SAML integration.
sourcepub fn set_user_attribute(self, input: Option<String>) -> Self
pub fn set_user_attribute(self, input: Option<String>) -> Self
A user attribute for this SAML integration.
sourcepub fn group_attribute(self, input: impl Into<String>) -> Self
pub fn group_attribute(self, input: impl Into<String>) -> Self
The group attribute for this SAML integration.
sourcepub fn set_group_attribute(self, input: Option<String>) -> Self
pub fn set_group_attribute(self, input: Option<String>) -> Self
The group attribute for this SAML integration.
sourcepub fn session_timeout(self, input: i32) -> Self
pub fn session_timeout(self, input: i32) -> Self
The session timeout, in minutes. Minimum is 15 minutes and maximum is 1440 minutes (24 hours or 1 day). Default is 60 minutes.
sourcepub fn set_session_timeout(self, input: Option<i32>) -> Self
pub fn set_session_timeout(self, input: Option<i32>) -> Self
The session timeout, in minutes. Minimum is 15 minutes and maximum is 1440 minutes (24 hours or 1 day). Default is 60 minutes.
sourcepub fn build(self) -> SamlConfigOptions
pub fn build(self) -> SamlConfigOptions
Consumes the builder and constructs a SamlConfigOptions
.