org.apache.cxf.rs.security.oauth2.grants.clientcred
Class ClientCredentialsGrantHandler
java.lang.Object
org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
org.apache.cxf.rs.security.oauth2.grants.clientcred.ClientCredentialsGrantHandler
- All Implemented Interfaces:
- AccessTokenGrantHandler
public class ClientCredentialsGrantHandler
- extends AbstractGrantHandler
The "client_credentials" grant handler
Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler |
checkIfGrantSupported, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, getDataProvider, getSupportedGrantTypes, isCanSupportPublicClients, setCanSupportPublicClients, setDataProvider, setPartialMatchScopeValidation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientCredentialsGrantHandler
public ClientCredentialsGrantHandler()
createAccessToken
public ServerAccessToken createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params)
throws OAuthServiceException
- Throws:
OAuthServiceException
Apache CXF