public class AccessTokenRefreshTokenGrantRequestExtractor extends AccessTokenAuthorizationCodeGrantRequestExtractor
webApplicationServiceServiceFactorycentralAuthenticationService, oAuthProperties, servicesManager, ticketRegistry| Constructor and Description |
|---|
AccessTokenRefreshTokenGrantRequestExtractor(org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.configuration.model.support.oauth.OAuthProperties oAuthProperties,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory) |
| Modifier and Type | Method and Description |
|---|---|
OAuth20GrantTypes |
getGrantType()
Gets grant type.
|
protected java.lang.String |
getOAuthParameterName() |
protected org.apereo.cas.support.oauth.services.OAuthRegisteredService |
getOAuthRegisteredServiceBy(javax.servlet.http.HttpServletRequest request)
Gets oauth registered service from the request.
|
protected java.lang.String |
getRegisteredServiceIdentifierFromRequest(javax.servlet.http.HttpServletRequest request)
Gets registered service identifier from request.
|
protected boolean |
isAllowedToGenerateRefreshToken()
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,
org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.configuration.model.support.oauth.OAuthProperties oAuthProperties,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory)
protected java.lang.String getOAuthParameterName()
getOAuthParameterName in class AccessTokenAuthorizationCodeGrantRequestExtractorprotected boolean isAllowedToGenerateRefreshToken()
AccessTokenAuthorizationCodeGrantRequestExtractorisAllowedToGenerateRefreshToken in class AccessTokenAuthorizationCodeGrantRequestExtractorpublic boolean supports(javax.servlet.http.HttpServletRequest context)
AccessTokenAuthorizationCodeGrantRequestExtractorsupports in class AccessTokenAuthorizationCodeGrantRequestExtractorcontext - the contextpublic OAuth20GrantTypes getGrantType()
BaseAccessTokenGrantRequestExtractorgetGrantType in class AccessTokenAuthorizationCodeGrantRequestExtractorprotected org.apereo.cas.support.oauth.services.OAuthRegisteredService getOAuthRegisteredServiceBy(javax.servlet.http.HttpServletRequest request)
AccessTokenAuthorizationCodeGrantRequestExtractorgetOAuthRegisteredServiceBy in class AccessTokenAuthorizationCodeGrantRequestExtractorrequest - the requestprotected java.lang.String getRegisteredServiceIdentifierFromRequest(javax.servlet.http.HttpServletRequest request)
AccessTokenAuthorizationCodeGrantRequestExtractorgetRegisteredServiceIdentifierFromRequest in class AccessTokenAuthorizationCodeGrantRequestExtractorrequest - the request