Interface SignInPolicyType.Builder

    • Method Detail

      • allowedFirstAuthFactorsWithStrings

        SignInPolicyType.Builder allowedFirstAuthFactorsWithStrings​(Collection<String> allowedFirstAuthFactors)

        The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.

        Parameters:
        allowedFirstAuthFactors - The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedFirstAuthFactorsWithStrings

        SignInPolicyType.Builder allowedFirstAuthFactorsWithStrings​(String... allowedFirstAuthFactors)

        The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.

        Parameters:
        allowedFirstAuthFactors - The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedFirstAuthFactors

        SignInPolicyType.Builder allowedFirstAuthFactors​(Collection<AuthFactorType> allowedFirstAuthFactors)

        The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.

        Parameters:
        allowedFirstAuthFactors - The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedFirstAuthFactors

        SignInPolicyType.Builder allowedFirstAuthFactors​(AuthFactorType... allowedFirstAuthFactors)

        The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.

        Parameters:
        allowedFirstAuthFactors - The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.