-
Method Summary
Method returns the IdentityProvider implementation for generating and validating OAuth token.
Requests access token for a client
Validate token and Retrieves Client ID on successful validation
-
Method Details
-
queryAccessToken
Requests access token for a client
- Parameters:
servletRequest -
- Returns:
- Response
- Throws:
com.fasterxml.jackson.core.JsonProcessingException - when ObjectMapper cannot read JSON
response to Java object
ApplicationException
-
validateToken
Validate token and Retrieves Client ID on successful validation
- Parameters:
httpServletRequest -
- Returns:
- On successful validation, it returns clientId
- Throws:
InvalidTokenException - when the access token sent is not valid
com.fasterxml.jackson.core.JsonProcessingException
-
getIdentityProvider
Method returns the IdentityProvider implementation for generating and validating OAuth token.
- Returns:
- IdentityProvider instance