Interface CustomNimbusRequestParser<T extends Request>

Type Parameters:
T - The Nimbus request object type.

public interface CustomNimbusRequestParser<T extends Request>
An interface for custom parsers for transforming HttpServletRequest into a Nimbus request object. Implementing classes may be wired to decoders that extends BaseOAuth2RequestDecoder with the corresponding Nimbus request object type.
Since:
4.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(HttpServletRequest httpServletRequest)
    Parse the Nimbus request object from the given servlet request.
  • Method Details

    • parse

      T parse(@Nonnull HttpServletRequest httpServletRequest) throws MessageDecodingException
      Parse the Nimbus request object from the given servlet request.
      Parameters:
      httpServletRequest - the servlet request used as an input
      Returns:
      the Nimbus request object
      Throws:
      MessageDecodingException - if the Nimbus object cannot be parsed