Struct aws_sdk_workspaces::model::SamlProperties
source · [−]#[non_exhaustive]pub struct SamlProperties { /* private fields */ }Expand description
Describes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
Implementations
sourceimpl SamlProperties
impl SamlProperties
sourcepub fn status(&self) -> Option<&SamlStatusEnum>
pub fn status(&self) -> Option<&SamlStatusEnum>
Indicates the status of SAML 2.0 authentication. These statuses include the following.
-
If the setting is
DISABLED, end users will be directed to login with their directory credentials. -
If the setting is
ENABLED, end users will be directed to login via the user access URL. Users attempting to connect to WorkSpaces from a client application that does not support SAML 2.0 authentication will not be able to connect. -
If the setting is
ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK, end users will be directed to login via the user access URL on supported client applications, but will not prevent clients that do not support SAML 2.0 authentication from connecting as if SAML 2.0 authentication was disabled.
sourcepub fn user_access_url(&self) -> Option<&str>
pub fn user_access_url(&self) -> Option<&str>
The SAML 2.0 identity provider (IdP) user access URL is the URL a user would navigate to in their web browser in order to federate from the IdP and directly access the application, without any SAML 2.0 service provider (SP) bindings.
sourcepub fn relay_state_parameter_name(&self) -> Option<&str>
pub fn relay_state_parameter_name(&self) -> Option<&str>
The relay state parameter name supported by the SAML 2.0 identity provider (IdP). When the end user is redirected to the user access URL from the WorkSpaces client application, this relay state parameter name is appended as a query parameter to the URL along with the relay state endpoint to return the user to the client application session.
To use SAML 2.0 authentication with WorkSpaces, the IdP must support IdP-initiated deep linking for the relay state URL. Consult your IdP documentation for more information.
sourceimpl SamlProperties
impl SamlProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SamlProperties.
Trait Implementations
sourceimpl Clone for SamlProperties
impl Clone for SamlProperties
sourcefn clone(&self) -> SamlProperties
fn clone(&self) -> SamlProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SamlProperties
impl Debug for SamlProperties
sourceimpl PartialEq<SamlProperties> for SamlProperties
impl PartialEq<SamlProperties> for SamlProperties
sourcefn eq(&self, other: &SamlProperties) -> bool
fn eq(&self, other: &SamlProperties) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SamlProperties) -> bool
fn ne(&self, other: &SamlProperties) -> bool
This method tests for !=.
impl StructuralPartialEq for SamlProperties
Auto Trait Implementations
impl RefUnwindSafe for SamlProperties
impl Send for SamlProperties
impl Sync for SamlProperties
impl Unpin for SamlProperties
impl UnwindSafe for SamlProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more