Class SecureGrantMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.String>
-
- io.micronaut.security.oauth2.grants.SecureGrantMap
-
- All Implemented Interfaces:
SecureGrant,java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.String>
public class SecureGrantMap extends java.util.HashMap<java.lang.String,java.lang.String> implements SecureGrant
An implementation ofHashMapthat also implementsSecureGrant.- Since:
- 1.2.0
- Author:
- James Kleeh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecureGrantMap()Default constructor.SecureGrantMap(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetClientId(java.lang.String clientId)Sets the client id in the grant.voidsetClientSecret(java.lang.String clientSecret)Sets the client secret in the grant.-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
setClientId
public void setClientId(java.lang.String clientId)
Description copied from interface:SecureGrantSets the client id in the grant.- Specified by:
setClientIdin interfaceSecureGrant- Parameters:
clientId- The client id
-
setClientSecret
public void setClientSecret(java.lang.String clientSecret)
Description copied from interface:SecureGrantSets the client secret in the grant.- Specified by:
setClientSecretin interfaceSecureGrant- Parameters:
clientSecret- The client secret
-
-