Package com.auth0.json.mgmt.guardian
Class Factor
java.lang.Object
com.auth0.json.mgmt.guardian.Factor
Class that represents an Auth0 Guardian Factor object. Related to the
GuardianEntity entity.-
Method Summary
Modifier and TypeMethodDescriptiongetName()Getter for the name of this factor.Whether this factor is enabled or not.Whether the trial has already expired or not.voidsetEnabled(Boolean enabled) Sets whether this factor is enabled or not.
-
Method Details
-
isEnabled
Whether this factor is enabled or not.- Returns:
- true if this factor is enabled, false otherwise.
-
setEnabled
Sets whether this factor is enabled or not.- Parameters:
enabled- whether this factor is enabled or not.
-
isTrialExpired
Whether the trial has already expired or not.- Returns:
- true if the trial has expired, false otherwise.
-
getName
Getter for the name of this factor.- Returns:
- the factor name.
-