public class RefreshTokenGrantHandler extends Object implements AccessTokenGrantHandler
Constructor and Description |
---|
RefreshTokenGrantHandler() |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
List<String> |
getSupportedGrantTypes() |
void |
setDataProvider(OAuthDataProvider dataProvider) |
void |
setPartialMatchScopeValidation(boolean partialMatchScopeValidation) |
void |
setUseAllClientScopes(boolean useAllClientScopes) |
public void setDataProvider(OAuthDataProvider dataProvider)
public List<String> getSupportedGrantTypes()
getSupportedGrantTypes
in interface AccessTokenGrantHandler
public ServerAccessToken createAccessToken(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params) throws OAuthServiceException
createAccessToken
in interface AccessTokenGrantHandler
OAuthServiceException
public void setPartialMatchScopeValidation(boolean partialMatchScopeValidation)
public void setUseAllClientScopes(boolean useAllClientScopes)
Apache CXF