Class OAuth2RevocationErrorResponse

java.lang.Object
net.shibboleth.idp.plugin.oidc.op.oauth2.messaging.impl.OAuth2RevocationErrorResponse
All Implemented Interfaces:
com.nimbusds.oauth2.sdk.ErrorResponse, com.nimbusds.oauth2.sdk.Message, com.nimbusds.oauth2.sdk.Response

public class OAuth2RevocationErrorResponse extends Object implements com.nimbusds.oauth2.sdk.ErrorResponse
OAuth2 Token Revocation Error message class.
  • Field Details

    • errorObject

      private com.nimbusds.oauth2.sdk.ErrorObject errorObject
      Error Object.
  • Constructor Details

    • OAuth2RevocationErrorResponse

      public OAuth2RevocationErrorResponse(@Nonnull com.nimbusds.oauth2.sdk.ErrorObject error)
      Constructor.
      Parameters:
      error - Error object the response is based on.
  • Method Details

    • getErrorObject

      public com.nimbusds.oauth2.sdk.ErrorObject getErrorObject()
      Specified by:
      getErrorObject in interface com.nimbusds.oauth2.sdk.ErrorResponse
    • indicatesSuccess

      public boolean indicatesSuccess()
      Specified by:
      indicatesSuccess in interface com.nimbusds.oauth2.sdk.Response
    • toHTTPResponse

      public com.nimbusds.oauth2.sdk.http.HTTPResponse toHTTPResponse()
      Specified by:
      toHTTPResponse in interface com.nimbusds.oauth2.sdk.Response