Class ApiKeyCreateRequest

java.lang.Object
com.broadleafcommerce.auth.server.domain.apikey.ApiKeyCreateRequest

public class ApiKeyCreateRequest extends Object
Exposes a limited subset of fields of ApiKey that can be provided by the API caller on a create request. Authentication Service 3.0.0, Release Train 3.0.0
  • Constructor Details

    • ApiKeyCreateRequest

      public ApiKeyCreateRequest()
  • Method Details

    • getName

      public String getName()
      The descriptive name for the new API key.
      See Also:
    • getWhitelistedDomains

      public List<String> getWhitelistedDomains()
      The list of domains that are allowed to use this API key. Only relevant for publishable keys.
      See Also:
    • setName

      public void setName(String name)
      The descriptive name for the new API key.
      See Also:
    • setWhitelistedDomains

      public void setWhitelistedDomains(List<String> whitelistedDomains)
      The list of domains that are allowed to use this API key. Only relevant for publishable keys.
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object