public class ClientCredentialsGrant extends AbstractGrant
Constructor and Description |
---|
ClientCredentialsGrant() |
ClientCredentialsGrant(String scope) |
ClientCredentialsGrant(String scope,
String audience) |
Modifier and Type | Method and Description |
---|---|
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
javax.ws.rs.core.MultivaluedMap<String,String> |
toMap()
Returns the map containing public grant parameters;
can be used by clients requesting the access tokens.
|
getType, setAudience
public ClientCredentialsGrant()
public ClientCredentialsGrant(String scope)
public javax.ws.rs.core.MultivaluedMap<String,String> toMap()
AccessTokenGrant
toMap
in interface AccessTokenGrant
toMap
in class AbstractGrant
public void setClientId(String clientId)
public void setClientSecret(String clientSecret)
Apache CXF