Class SignInOptions

    • Method Detail

      • applicationUrl

        public final String applicationUrl()

        The URL that accepts authentication requests for an application. This is a required parameter if the Origin parameter is APPLICATION.

        Returns:
        The URL that accepts authentication requests for an application. This is a required parameter if the Origin parameter is APPLICATION.
      • origin

        public final SignInOrigin origin()

        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 configured ApplicationUrl.

        • IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.

        If the service returns an enum value that is not available in the current SDK version, origin will return SignInOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from originAsString().

        Returns:
        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 configured ApplicationUrl.

        • IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.

        See Also:
        SignInOrigin
      • originAsString

        public final String originAsString()

        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 configured ApplicationUrl.

        • IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.

        If the service returns an enum value that is not available in the current SDK version, origin will return SignInOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from originAsString().

        Returns:
        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 configured ApplicationUrl.

        • IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.

        See Also:
        SignInOrigin
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)