Class ApiKeyGenerationResult
java.lang.Object
com.broadleafcommerce.auth.server.domain.apikey.ApiKeyGenerationResult
An internal DTO used to capture the result of generating an API key.
Authentication Service 3.0.0, Release Train 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe display-safe preview of the API key.The raw, plaintext API key that was generated.The cryptographically secure hash of the raw API key.inthashCode()voidsetDisplaySafeKeyPreview(String displaySafeKeyPreview) The display-safe preview of the API key.voidsetPlaintextKey(String plaintextKey) The raw, plaintext API key that was generated.voidsetSecureHash(String secureHash) The cryptographically secure hash of the raw API key.toString()
-
Constructor Details
-
ApiKeyGenerationResult
public ApiKeyGenerationResult()
-
-
Method Details
-
getPlaintextKey
The raw, plaintext API key that was generated. -
getDisplaySafeKeyPreview
The display-safe preview of the API key.- See Also:
-
getSecureHash
The cryptographically secure hash of the raw API key. -
setPlaintextKey
The raw, plaintext API key that was generated. -
setDisplaySafeKeyPreview
The display-safe preview of the API key.- See Also:
-
setSecureHash
The cryptographically secure hash of the raw API key. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-