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 Link icon

  • Constructor Details Link icon

    • TokenHookResponseError Link icon

      public TokenHookResponseError()
  • Method Details Link icon

    • errorSummary Link icon

      public TokenHookResponseError errorSummary(String errorSummary)
    • getErrorSummary Link icon

      @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 Link icon

      public void setErrorSummary(String errorSummary)
    • equals Link icon

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

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

      public String toString()
      Overrides:
      toString in class Object