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 ofHashMap
that 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 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.-
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:SecureGrant
Sets the client id in the grant.- Specified by:
setClientId
in interfaceSecureGrant
- Parameters:
clientId
- The client id
-
setClientSecret
public void setClientSecret(java.lang.String clientSecret)
Description copied from interface:SecureGrant
Sets the client secret in the grant.- Specified by:
setClientSecret
in interfaceSecureGrant
- Parameters:
clientSecret
- The client secret
-
-