Class Secret

java.lang.Object
com.auth0.json.mgmt.actions.Secret

public class Secret extends Object
Represents a secret of an action.
See Also:
Action, ActionsEntity
  • Constructor Details

    • Secret

      public Secret(String name, String value)
      Creates a new instance.
      Parameters:
      name - the name of the secret, e.g., "API_KEY"
      value - the value of the secret.
  • Method Details

    • getName

      public String getName()
      Returns:
      the name of this secret.
    • setName

      public void setName(String name)
      Sets the name of this secret.
      Parameters:
      name - the name of the secret, e.g., "API_KEY"
    • getValue

      public String getValue()
      Get the value of this secret.

      Secret values will never be returned by the API. This will only return a value if the instance is being used to create or update a secret.

      Returns:
      the value of this secret.
    • setValue

      public void setValue(String value)
      Sets the value of this secret.
      Parameters:
      value - the value of this secret.
    • getUpdatedAt

      public Date getUpdatedAt()
      Returns:
      the date this secret was updated at.