Apache CXF API

org.apache.cxf.rs.security.oauth2.grants.refresh
Class RefreshTokenGrantHandler

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.grants.refresh.RefreshTokenGrantHandler
All Implemented Interfaces:
AccessTokenGrantHandler

public class RefreshTokenGrantHandler
extends Object
implements AccessTokenGrantHandler


Constructor Summary
RefreshTokenGrantHandler()
           
 
Method Summary
 ServerAccessToken createAccessToken(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params)
           
 List<String> getSupportedGrantTypes()
           
 void setDataProvider(OAuthDataProvider dataProvider)
           
 void setPartialMatchScopeValidation(boolean partialMatchScopeValidation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefreshTokenGrantHandler

public RefreshTokenGrantHandler()
Method Detail

setDataProvider

public void setDataProvider(OAuthDataProvider dataProvider)

getSupportedGrantTypes

public List<String> getSupportedGrantTypes()
Specified by:
getSupportedGrantTypes in interface AccessTokenGrantHandler

createAccessToken

public ServerAccessToken createAccessToken(Client client,
                                           javax.ws.rs.core.MultivaluedMap<String,String> params)
                                    throws OAuthServiceException
Specified by:
createAccessToken in interface AccessTokenGrantHandler
Throws:
OAuthServiceException

setPartialMatchScopeValidation

public void setPartialMatchScopeValidation(boolean partialMatchScopeValidation)

Apache CXF API

Apache CXF