Package com.okta.sdk.resource.model
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
errorSummary
(String errorSummary) Human-readable summary of the error.int
hashCode()
void
setErrorSummary
(String errorSummary) toString()
-
Field Details
-
JSON_PROPERTY_ERROR_SUMMARY
- See Also:
-
-
Constructor Details
-
TokenHookResponseError
public TokenHookResponseError()
-
-
Method Details
-
errorSummary
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-