Interface CreateBackendAuthMFAConfig.Builder

  • Method Details

    • mfaMode

      Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.

      Parameters:
      mfaMode - Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mfaMode

      Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.

      Parameters:
      mfaMode - Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • settings

      Describes the configuration settings and methods for your Amplify app users to use MFA.

      Parameters:
      settings - Describes the configuration settings and methods for your Amplify app users to use MFA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • settings

      Describes the configuration settings and methods for your Amplify app users to use MFA.

      This is a convenience method that creates an instance of the Settings.Builder avoiding the need to create one manually via Settings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to settings(Settings).

      Parameters:
      settings - a consumer that will call methods on Settings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: