Interface VerifySoftwareTokenResponse.Builder

    • Method Detail

      • status

        VerifySoftwareTokenResponse.Builder status​(String status)

        Amazon Cognito can accept or reject the code that you provide. This response parameter indicates the success of TOTP verification. Some reasons that this operation might return an error are clock skew on the user's device and excessive retries.

        Parameters:
        status - Amazon Cognito can accept or reject the code that you provide. This response parameter indicates the success of TOTP verification. Some reasons that this operation might return an error are clock skew on the user's device and excessive retries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VerifySoftwareTokenResponseType, VerifySoftwareTokenResponseType
      • status

        VerifySoftwareTokenResponse.Builder status​(VerifySoftwareTokenResponseType status)

        Amazon Cognito can accept or reject the code that you provide. This response parameter indicates the success of TOTP verification. Some reasons that this operation might return an error are clock skew on the user's device and excessive retries.

        Parameters:
        status - Amazon Cognito can accept or reject the code that you provide. This response parameter indicates the success of TOTP verification. Some reasons that this operation might return an error are clock skew on the user's device and excessive retries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VerifySoftwareTokenResponseType, VerifySoftwareTokenResponseType
      • session

        VerifySoftwareTokenResponse.Builder session​(String session)

        This session ID satisfies an MFA_SETUP challenge. Supply the session ID in your challenge response.

        Parameters:
        session - This session ID satisfies an MFA_SETUP challenge. Supply the session ID in your challenge response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.