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
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description ClientCredentialsGrantHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerAccessTokencreateAccessToken(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params)-
Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, getApprovedScopes, getAudiences, getDataProvider, getPreAuthorizedToken, getSingleGrantType, getSupportedGrantTypes, isCanSupportPublicClients, isPartialMatchScopeValidation, setCanSupportPublicClients, setDataProvider, setPartialMatchScopeValidation
-
-
-
-
Method Detail
-
createAccessToken
public ServerAccessToken createAccessToken(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params) throws OAuthServiceException
- Throws:
OAuthServiceException
-
-