Class SecureGrantMap

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,String>
io.micronaut.security.oauth2.grants.SecureGrantMap
All Implemented Interfaces:
SecureGrant, Serializable, Cloneable, Map<String,String>

public class SecureGrantMap extends HashMap<String,String> implements SecureGrant
An implementation of HashMap that also implements SecureGrant.
Since:
1.2.0
Author:
James Kleeh
See Also:
  • Constructor Details

    • SecureGrantMap

      public SecureGrantMap(int initialCapacity)
      Parameters:
      initialCapacity - The initial capacity
    • SecureGrantMap

      public SecureGrantMap()
      Default constructor.
  • Method Details

    • setClientId

      public void setClientId(String clientId)
      Description copied from interface: SecureGrant
      Sets the client id in the grant.
      Specified by:
      setClientId in interface SecureGrant
      Parameters:
      clientId - The client id
    • setClientSecret

      public void setClientSecret(String clientSecret)
      Description copied from interface: SecureGrant
      Sets the client secret in the grant.
      Specified by:
      setClientSecret in interface SecureGrant
      Parameters:
      clientSecret - The client secret