Package com.nimbusds.oauth2.sdk
Interface ErrorResponse
-
- All Known Implementing Classes:
AuthenticationErrorResponse
,AuthorizationErrorResponse
,ClientRegistrationErrorResponse
,DeviceAuthorizationErrorResponse
,PushedAuthorizationErrorResponse
,RequestObjectPOSTErrorResponse
,TokenErrorResponse
,TokenIntrospectionErrorResponse
,UserInfoErrorResponse
public interface ErrorResponse extends Response
Response message indicating an error.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorObject
getErrorObject()
Gets the error associated with the error response.-
Methods inherited from interface com.nimbusds.oauth2.sdk.Response
indicatesSuccess, toHTTPResponse
-
-
-
-
Method Detail
-
getErrorObject
ErrorObject getErrorObject()
Gets the error associated with the error response.- Returns:
- The error,
null
if none.
-
-