@Introspected public class ClientCredentialsGrant extends java.lang.Object implements AsMap
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_GRANT_TYPE |
static java.lang.String |
KEY_SCOPES |
Constructor and Description |
---|
ClientCredentialsGrant()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGrantType() |
java.lang.String |
getScope() |
void |
setScope(java.lang.String scope) |
java.util.Map<java.lang.String,java.lang.String> |
toMap() |
public static final java.lang.String KEY_GRANT_TYPE
public static final java.lang.String KEY_SCOPES
@Nonnull public java.lang.String getGrantType()
@Nullable public java.lang.String getScope()
public void setScope(@Nullable java.lang.String scope)
scope
- Requested scope values for the access token.