public class AccessTokenRefreshTokenGrantRequestExtractor extends AccessTokenAuthorizationCodeGrantRequestExtractor
centralAuthenticationService, oAuthProperties, request, response, servicesManager, ticketRegistry| Constructor and Description |
|---|
AccessTokenRefreshTokenGrantRequestExtractor(org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.configuration.model.support.oauth.OAuthProperties oAuthProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getOAuthParameterName() |
protected boolean |
isAllowedToGenerateRefreshToken(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService)
Is allowed to generate refresh token ?
|
boolean |
supports(javax.servlet.http.HttpServletRequest context)
Supports the grant type?
|
extract, getOAuthParameter, getOAuthTokenFromRequestpublic AccessTokenRefreshTokenGrantRequestExtractor(org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.configuration.model.support.oauth.OAuthProperties oAuthProperties)
protected java.lang.String getOAuthParameterName()
getOAuthParameterName in class AccessTokenAuthorizationCodeGrantRequestExtractorprotected boolean isAllowedToGenerateRefreshToken(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService)
AccessTokenAuthorizationCodeGrantRequestExtractorisAllowedToGenerateRefreshToken in class AccessTokenAuthorizationCodeGrantRequestExtractorregisteredService - the registered servicepublic boolean supports(javax.servlet.http.HttpServletRequest context)
AccessTokenAuthorizationCodeGrantRequestExtractorsupports in class AccessTokenAuthorizationCodeGrantRequestExtractorcontext - the context