#[non_exhaustive]pub struct SamlConfigOptionsBuilder { /* private fields */ }
Expand description
A builder for SamlConfigOptions
.
Implementations§
source§impl SamlConfigOptionsBuilder
impl SamlConfigOptionsBuilder
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
.
Trait Implementations§
source§impl Clone for SamlConfigOptionsBuilder
impl Clone for SamlConfigOptionsBuilder
source§fn clone(&self) -> SamlConfigOptionsBuilder
fn clone(&self) -> SamlConfigOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · 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 SamlConfigOptionsBuilder
impl Debug for SamlConfigOptionsBuilder
source§impl Default for SamlConfigOptionsBuilder
impl Default for SamlConfigOptionsBuilder
source§fn default() -> SamlConfigOptionsBuilder
fn default() -> SamlConfigOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SamlConfigOptionsBuilder> for SamlConfigOptionsBuilder
impl PartialEq<SamlConfigOptionsBuilder> for SamlConfigOptionsBuilder
source§fn eq(&self, other: &SamlConfigOptionsBuilder) -> bool
fn eq(&self, other: &SamlConfigOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.