Class Factor

java.lang.Object
com.auth0.json.mgmt.guardian.Factor

public class Factor extends Object
Class that represents an Auth0 Guardian Factor object. Related to the GuardianEntity entity.
  • Method Details

    • isEnabled

      public Boolean isEnabled()
      Whether this factor is enabled or not.
      Returns:
      true if this factor is enabled, false otherwise.
    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets whether this factor is enabled or not.
      Parameters:
      enabled - whether this factor is enabled or not.
    • isTrialExpired

      public Boolean isTrialExpired()
      Whether the trial has already expired or not.
      Returns:
      true if the trial has expired, false otherwise.
    • getName

      public String getName()
      Getter for the name of this factor.
      Returns:
      the factor name.