Struct aws_sdk_ssoadmin::types::builders::SignInOptionsBuilder
source · #[non_exhaustive]pub struct SignInOptionsBuilder { /* private fields */ }Expand description
A builder for SignInOptions.
Implementations§
source§impl SignInOptionsBuilder
impl SignInOptionsBuilder
sourcepub fn origin(self, input: SignInOrigin) -> Self
pub fn origin(self, input: SignInOrigin) -> Self
This determines how IAM Identity Center navigates the user to the target application. It can be one of the following values:
-
APPLICATION: IAM Identity Center redirects the customer to the configuredApplicationUrl. -
IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.
sourcepub fn set_origin(self, input: Option<SignInOrigin>) -> Self
pub fn set_origin(self, input: Option<SignInOrigin>) -> Self
This determines how IAM Identity Center navigates the user to the target application. It can be one of the following values:
-
APPLICATION: IAM Identity Center redirects the customer to the configuredApplicationUrl. -
IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.
sourcepub fn get_origin(&self) -> &Option<SignInOrigin>
pub fn get_origin(&self) -> &Option<SignInOrigin>
This determines how IAM Identity Center navigates the user to the target application. It can be one of the following values:
-
APPLICATION: IAM Identity Center redirects the customer to the configuredApplicationUrl. -
IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.
sourcepub fn application_url(self, input: impl Into<String>) -> Self
pub fn application_url(self, input: impl Into<String>) -> Self
The URL that accepts authentication requests for an application. This is a required parameter if the Origin parameter is APPLICATION.
sourcepub fn set_application_url(self, input: Option<String>) -> Self
pub fn set_application_url(self, input: Option<String>) -> Self
The URL that accepts authentication requests for an application. This is a required parameter if the Origin parameter is APPLICATION.
sourcepub fn get_application_url(&self) -> &Option<String>
pub fn get_application_url(&self) -> &Option<String>
The URL that accepts authentication requests for an application. This is a required parameter if the Origin parameter is APPLICATION.
sourcepub fn build(self) -> Result<SignInOptions, BuildError>
pub fn build(self) -> Result<SignInOptions, BuildError>
Consumes the builder and constructs a SignInOptions.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SignInOptionsBuilder
impl Clone for SignInOptionsBuilder
source§fn clone(&self) -> SignInOptionsBuilder
fn clone(&self) -> SignInOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SignInOptionsBuilder
impl Debug for SignInOptionsBuilder
source§impl Default for SignInOptionsBuilder
impl Default for SignInOptionsBuilder
source§fn default() -> SignInOptionsBuilder
fn default() -> SignInOptionsBuilder
source§impl PartialEq for SignInOptionsBuilder
impl PartialEq for SignInOptionsBuilder
source§fn eq(&self, other: &SignInOptionsBuilder) -> bool
fn eq(&self, other: &SignInOptionsBuilder) -> bool
self and other values to be equal, and is used
by ==.