Class UnsupportedGrantTypeErrorResponse
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.UnsupportedGrantTypeErrorResponse
The UnsupportedGrantTypeErrorResponse class holds the information for an OAuth2
unsupported grant type error response.
- Author:
- Marcus Portmann
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe error code for the OAuth2 unsupported grant type error response. -
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedGrantTypeErrorResponse(String grantType) Constructs a new UnsupportedGrantTypeErrorResponse. -
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 unsupported grant type error response.- See Also:
-
-
Constructor Details
-
UnsupportedGrantTypeErrorResponse
Constructs a new UnsupportedGrantTypeErrorResponse.- Parameters:
grantType- the unsupported grant type
-