#[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 get_metadata(&self) -> &Option<String>
pub fn get_metadata(&self) -> &Option<String>
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 get_user_attribute(&self) -> &Option<String>
pub fn get_user_attribute(&self) -> &Option<String>
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 get_group_attribute(&self) -> &Option<String>
pub fn get_group_attribute(&self) -> &Option<String>
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. Default is 60 minutes (12 hours).
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. Default is 60 minutes (12 hours).
sourcepub fn get_session_timeout(&self) -> &Option<i32>
pub fn get_session_timeout(&self) -> &Option<i32>
The session timeout, in minutes. Default is 60 minutes (12 hours).
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 for SamlConfigOptionsBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for SamlConfigOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SamlConfigOptionsBuilder
impl Send for SamlConfigOptionsBuilder
impl Sync for SamlConfigOptionsBuilder
impl Unpin for SamlConfigOptionsBuilder
impl UnwindSafe for SamlConfigOptionsBuilder
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