Class ClientCredentialsGrant
java.lang.Object
org.apache.cxf.rs.security.oauth2.grants.AbstractGrant
org.apache.cxf.rs.security.oauth2.grants.clientcred.ClientCredentialsGrant
- All Implemented Interfaces:
Serializable,AccessTokenGrant
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClientCredentialsGrant(String scope) ClientCredentialsGrant(String scope, String audience) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetClientId(String clientId) voidsetClientSecret(String clientSecret) toMap()Returns the map containing public grant parameters; can be used by clients requesting the access tokens.Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrant
getType, setAudience
-
Constructor Details
-
ClientCredentialsGrant
public ClientCredentialsGrant() -
ClientCredentialsGrant
-
ClientCredentialsGrant
-
-
Method Details
-
toMap
Description copied from interface:AccessTokenGrantReturns the map containing public grant parameters; can be used by clients requesting the access tokens.- Specified by:
toMapin interfaceAccessTokenGrant- Overrides:
toMapin classAbstractGrant- Returns:
- the grant parameters
-
setClientId
-
setClientSecret
-