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
The "client_credentials" grant handler
-
Field Summary
Fields inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAccessToken(Client client, jakarta.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
-
Constructor Details
-
ClientCredentialsGrantHandler
public ClientCredentialsGrantHandler()
-
-
Method Details
-
createAccessToken
public ServerAccessToken createAccessToken(Client client, jakarta.ws.rs.core.MultivaluedMap<String, String> params) throws OAuthServiceException- Throws:
OAuthServiceException
-