Class InvalidRequestErrorResponse
java.lang.Object
africa.absa.inception.oauth2.server.authorization.controller.Response
africa.absa.inception.oauth2.server.authorization.controller.ErrorResponse
africa.absa.inception.oauth2.server.authorization.controller.InvalidRequestErrorResponse
The InvalidRequestErrorResponse class holds the information for an OAuth2 invalid request
error response.
- Author:
- Marcus Portmann
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe error code for the OAuth2 invalid request error response. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new InvalidRequestErrorResponse.InvalidRequestErrorResponse(String errorDescription) Constructs a new InvalidRequestErrorResponse. -
Method Summary
Methods inherited from class africa.absa.inception.oauth2.server.authorization.controller.ErrorResponse
getBody, getError, getErrorDescription
-
Field Details
-
ERROR_CODE
The error code for the OAuth2 invalid request error response.- See Also:
-
-
Constructor Details
-
InvalidRequestErrorResponse
public InvalidRequestErrorResponse()Constructs a new InvalidRequestErrorResponse. -
InvalidRequestErrorResponse
Constructs a new InvalidRequestErrorResponse.- Parameters:
errorDescription- the optional human-readable ASCII text description of the error
-