Class OneTimeSecret

java.lang.Object
com.kingsrook.qqq.backend.core.model.secrets.OneTimeSecret

public class OneTimeSecret extends Object
Returned once to the requesting client; never stored, logged, audited or put in process state.
  • Constructor Details

    • OneTimeSecret

      public OneTimeSecret()
  • Method Details

    • getLabel

      public String getLabel()
      Get label.
    • setLabel

      public void setLabel(String label)
      Set label.
    • withLabel

      public OneTimeSecret withLabel(String label)
      With label.
    • getValue

      public String getValue()
      Get value.
    • setValue

      public void setValue(String value)
      Set value.
    • withValue

      public OneTimeSecret withValue(String value)
      With value.
    • getUsageText

      public String getUsageText()
      Get usageText.
    • setUsageText

      public void setUsageText(String usageText)
      Set usageText.
    • withUsageText

      public OneTimeSecret withUsageText(String usageText)
      With usageText.
    • getMasked

      public String getMasked()
      Get masked.
    • setMasked

      public void setMasked(String masked)
      Set masked.
    • withMasked

      public OneTimeSecret withMasked(String masked)
      With masked.
    • toString

      public String toString()
      Describe only the label and masked representation, never the secret or usage text.
      Overrides:
      toString in class Object