Class InvalidClientErrorResponse
- 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.InvalidClientErrorResponse
-
public class InvalidClientErrorResponse extends ErrorResponse
The InvalidClientErrorResponse class holds the information for an OAuth2 invalid client error response.See: Error Response
- Author:
- Marcus Portmann
-
-
Field Summary
Fields Modifier and Type Field Description static StringERROR_CODEThe error code for the OAuth2 invalid client error response.
-
Constructor Summary
Constructors Constructor Description InvalidClientErrorResponse(org.springframework.http.HttpStatus status)Constructs a new InvalidClientErrorResponse.InvalidClientErrorResponse(org.springframework.http.HttpStatus status, String errorDescription)Constructs a new InvalidClientErrorResponse.
-
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 invalid client error response.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InvalidClientErrorResponse
public InvalidClientErrorResponse(org.springframework.http.HttpStatus status)
Constructs a new InvalidClientErrorResponse.- Parameters:
status- the HTTP status that should be returned for the OAuth2 invalid client error response
-
InvalidClientErrorResponse
public InvalidClientErrorResponse(org.springframework.http.HttpStatus status, String errorDescription)Constructs a new InvalidClientErrorResponse.- Parameters:
status- the HTTP status that should be returned for the OAuth2 invalid client error responseerrorDescription- the optional human-readable ASCII text description of the error
-
-