public class SecureGrantMap extends java.util.HashMap<java.lang.String,java.lang.String> implements SecureGrant
HashMap
that also implements SecureGrant
.Constructor and Description |
---|
SecureGrantMap()
Default constructor.
|
SecureGrantMap(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
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.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public SecureGrantMap(int initialCapacity)
initialCapacity
- The initial capacitypublic SecureGrantMap()
public void setClientId(java.lang.String clientId)
SecureGrant
setClientId
in interface SecureGrant
clientId
- The client idpublic void setClientSecret(java.lang.String clientSecret)
SecureGrant
setClientSecret
in interface SecureGrant
clientSecret
- The client secret