public class AccessTokenRefreshTokenGrantRequestExtractor extends AccessTokenAuthorizationCodeGrantRequestExtractor
centralAuthenticationService, 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) |
| Modifier and Type | Method and Description |
|---|---|
OAuth20GrantTypes |
getGrantType()
Gets grant type.
|
protected java.lang.String |
getOAuthParameterName() |
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)
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 AccessTokenAuthorizationCodeGrantRequestExtractor