Class TokenHookResponseError

java.lang.Object
com.okta.sdk.resource.model.TokenHookResponseError
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class TokenHookResponseError extends Object implements Serializable
When an error object is returned, it causes Okta to return an OAuth 2.0 error to the requester of the token. In the error response, the value of `error` is `server_error`, and the value of `error_description` is the string that you supplied in the `errorSummary` property of the `error` object that you returned.
See Also:
  • Field Details

  • Constructor Details

    • TokenHookResponseError

      public TokenHookResponseError()
  • Method Details

    • errorSummary

      public TokenHookResponseError errorSummary(String errorSummary)
    • getErrorSummary

      @Nullable public String getErrorSummary()
      Human-readable summary of the error. If the error object doesn't include the `errorSummary` property defined, the following common default message is returned to the end user: `The callback service returned an error`.
      Returns:
      errorSummary
    • setErrorSummary

      public void setErrorSummary(String errorSummary)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object