Class UnauthorizedClientErrorResponse
- 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.UnauthorizedClientErrorResponse
-
public class UnauthorizedClientErrorResponse extends ErrorResponse
The UnauthorizedClientErrorResponse class holds the information for an OAuth2 unauthorized client error response.- Author:
- Marcus Portmann
-
-
Field Summary
Fields Modifier and Type Field Description static StringERROR_CODEThe error code for the OAuth2 unauthorized client error response.
-
Constructor Summary
Constructors Constructor Description UnauthorizedClientErrorResponse()Constructs a new UnauthorizedClientErrorResponse.UnauthorizedClientErrorResponse(String errorDescription)Constructs a new UnauthorizedClientErrorResponse.
-
Method Summary
-
Methods inherited from class africa.absa.inception.oauth2.server.authorization.controller.ErrorResponse
getBody, getError, getErrorDescription
-
-
-
-
Field Detail
-
ERROR_CODE
public static final String ERROR_CODE
The error code for the OAuth2 unauthorized client error response.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UnauthorizedClientErrorResponse
public UnauthorizedClientErrorResponse()
Constructs a new UnauthorizedClientErrorResponse.
-
UnauthorizedClientErrorResponse
public UnauthorizedClientErrorResponse(String errorDescription)
Constructs a new UnauthorizedClientErrorResponse.- Parameters:
errorDescription- the optional human-readable ASCII text description of the error
-
-