@Introspected public class ClientCredentialsGrant extends AbstractClientSecureGrant implements SecureGrant, AsMap
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_SCOPES |
clientId, clientSecret
KEY_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, setClientSecret
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setClientId, setClientSecret
public static final java.lang.String KEY_SCOPES
@NonNull public java.lang.String getGrantType()
getGrantType
in class AbstractClientSecureGrant
public void setGrantType(@NonNull java.lang.String grantType)
setGrantType
in class AbstractClientSecureGrant
grantType
- 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 AsMap
toMap
in class AbstractClientSecureGrant