@Introspected public class ClientCredentialsGrant extends AbstractClientSecureGrant implements SecureGrant, AsMap
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_SCOPES |
clientId, clientSecretKEY_CLIENT_ID, KEY_CLIENT_SECRET| Constructor and Description |
|---|
ClientCredentialsGrant() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGrantType() |
java.lang.String |
getScope() |
void |
setGrantType(java.lang.String grantType) |
void |
setScope(java.lang.String scope) |
java.util.Map<java.lang.String,java.lang.String> |
toMap() |
getClientId, getClientSecret, setClientId, setClientSecretclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetClientId, setClientSecretpublic static final java.lang.String KEY_SCOPES
@NonNull public java.lang.String getGrantType()
getGrantType in class AbstractClientSecureGrantpublic void setGrantType(@NonNull
java.lang.String grantType)
setGrantType in class AbstractClientSecureGrantgrantType - Grant type@Nullable public java.lang.String getScope()
public void setScope(@Nullable
java.lang.String scope)
scope - Requested scope values for the access token.@NonNull public java.util.Map<java.lang.String,java.lang.String> toMap()
toMap in interface AsMaptoMap in class AbstractClientSecureGrant