Class ApiKeyGenerationResult

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

public class ApiKeyGenerationResult extends Object
An internal DTO used to capture the result of generating an API key. Authentication Service 3.0.0, Release Train 3.0.0
  • Constructor Details

    • ApiKeyGenerationResult

      public ApiKeyGenerationResult()
  • Method Details

    • getPlaintextKey

      public String getPlaintextKey()
      The raw, plaintext API key that was generated.
    • getDisplaySafeKeyPreview

      public String getDisplaySafeKeyPreview()
      The display-safe preview of the API key.
      See Also:
    • getSecureHash

      public String getSecureHash()
      The cryptographically secure hash of the raw API key.
    • setPlaintextKey

      public void setPlaintextKey(String plaintextKey)
      The raw, plaintext API key that was generated.
    • setDisplaySafeKeyPreview

      public void setDisplaySafeKeyPreview(String displaySafeKeyPreview)
      The display-safe preview of the API key.
      See Also:
    • setSecureHash

      public void setSecureHash(String secureHash)
      The cryptographically secure hash of the raw API key.
    • 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