Class OAuth2RevocationRequestDecoder

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, UnmodifiableComponent, MessageDecoder, HttpServletRequestMessageDecoder

public class OAuth2RevocationRequestDecoder extends BaseOAuth2RequestDecoder<com.nimbusds.oauth2.sdk.TokenRevocationRequest>
Message decoder decoding OpenID Connect TokenRevocationRequests.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
  • Constructor Details

    • OAuth2RevocationRequestDecoder

      public OAuth2RevocationRequestDecoder()
  • Method Details

    • parseMessage

      protected com.nimbusds.oauth2.sdk.TokenRevocationRequest parseMessage() throws MessageDecodingException
      Parses the message into the exact type of the request message.
      Specified by:
      parseMessage in class BaseOAuth2RequestDecoder<com.nimbusds.oauth2.sdk.TokenRevocationRequest>
      Returns:
      The request message
      Throws:
      MessageDecodingException - if there is a problem decoding the message context
    • getMessageToLog

      protected String getMessageToLog(@Nullable com.nimbusds.oauth2.sdk.TokenRevocationRequest message)
      Get the string representation of what will be logged as the protocol message.
      Specified by:
      getMessageToLog in class BaseOAuth2RequestDecoder<com.nimbusds.oauth2.sdk.TokenRevocationRequest>
      Parameters:
      message - the request message
      Returns:
      the string representing the protocol message for logging purposes