Interface TestIdentityProviderResponse.Builder

    • Method Detail

      • response

        TestIdentityProviderResponse.Builder response​(String response)

        The response that is returned from your API Gateway or your Lambda function.

        Parameters:
        response - The response that is returned from your API Gateway or your Lambda function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusCode

        TestIdentityProviderResponse.Builder statusCode​(Integer statusCode)

        The HTTP status code that is the response from your API Gateway or your Lambda function.

        Parameters:
        statusCode - The HTTP status code that is the response from your API Gateway or your Lambda function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        TestIdentityProviderResponse.Builder message​(String message)

        A message that indicates whether the test was successful or not.

        If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.

        Parameters:
        message - A message that indicates whether the test was successful or not.

        If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • url

        TestIdentityProviderResponse.Builder url​(String url)

        The endpoint of the service used to authenticate a user.

        Parameters:
        url - The endpoint of the service used to authenticate a user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.