public abstract class AbstractClientSecureGrant extends java.lang.Object implements SecureGrant, AsMap
SecureGrant implementations.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
clientId |
protected java.lang.String |
clientSecret |
KEY_CLIENT_ID, KEY_CLIENT_SECRET| Constructor and Description |
|---|
AbstractClientSecureGrant() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClientId() |
java.lang.String |
getClientSecret() |
abstract java.lang.String |
getGrantType() |
void |
setClientId(java.lang.String clientId)
Sets the client id in the grant.
|
void |
setClientSecret(java.lang.String clientSecret)
Sets the client secret in the grant.
|
abstract void |
setGrantType(java.lang.String grantType) |
java.util.Map<java.lang.String,java.lang.String> |
toMap() |
protected java.lang.String clientId
protected java.lang.String clientSecret
@NonNull public abstract java.lang.String getGrantType()
public abstract void setGrantType(@NonNull
java.lang.String grantType)
grantType - OAuth 2.0 Grant Type.@Nullable public java.lang.String getClientId()
public void setClientId(@Nullable
java.lang.String clientId)
SecureGrantsetClientId in interface SecureGrantclientId - Application's Client identifier.public void setClientSecret(@Nullable
java.lang.String clientSecret)
SecureGrantsetClientSecret in interface SecureGrantclientSecret - Application's Client clientSecret.@Nullable public java.lang.String getClientSecret()