Class TestIdentityProviderResponse

    • Method Detail

      • response

        public final String response()

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

        Returns:
        The response that is returned from your API Gateway or your Lambda function.
      • statusCode

        public final Integer statusCode()

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

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

        public final 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.

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

      • url

        public final String url()

        The endpoint of the service used to authenticate a user.

        Returns:
        The endpoint of the service used to authenticate a user.
      • 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