Interface CustomNimbusRequestParser<T extends com.nimbusds.oauth2.sdk.Request>
- Type Parameters:
T- The Nimbus request object type.
public interface CustomNimbusRequestParser<T extends com.nimbusds.oauth2.sdk.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 TypeMethodDescriptionparse(HttpServletRequest httpServletRequest) Parse the Nimbus request object from the given servlet request.
-
Method Details
-
parse
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
-