Class AssuranceMethod

java.lang.Object
com.okta.sdk.resource.model.VerificationMethod
com.okta.sdk.resource.model.AssuranceMethod
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]", comments="Generator version: 7.15.0") public class AssuranceMethod extends VerificationMethod implements Serializable
AssuranceMethod
See Also:
  • Field Details

  • Constructor Details

    • AssuranceMethod

      public AssuranceMethod()
  • Method Details

    • constraints

      public AssuranceMethod constraints(List<AccessPolicyConstraints> constraints)
    • addconstraintsItem

      public AssuranceMethod addconstraintsItem(AccessPolicyConstraints constraintsItem)
    • getConstraints

      @Nullable public List<AccessPolicyConstraints> getConstraints()
      Specifies constraints for the authenticator. Constraints are logically evaluated such that only one constraint object needs to be satisfied. But, within a constraint object, each constraint property must be satisfied.
      Returns:
      constraints
    • setConstraints

      public void setConstraints(List<AccessPolicyConstraints> constraints)
    • factorMode

      public AssuranceMethod factorMode(AssuranceMethodFactorMode factorMode)
    • getFactorMode

      @Nullable public AssuranceMethodFactorMode getFactorMode()
      Get factorMode
      Returns:
      factorMode
    • setFactorMode

      public void setFactorMode(AssuranceMethodFactorMode factorMode)
    • inactivityPeriod

      public AssuranceMethod inactivityPeriod(String inactivityPeriod)
    • getInactivityPeriod

      @Nullable public String getInactivityPeriod()
      The inactivity duration after which the user must re-authenticate. Use the ISO 8601 period format (for example, PT2H).
      Returns:
      inactivityPeriod
    • setInactivityPeriod

      public void setInactivityPeriod(String inactivityPeriod)
    • reauthenticateIn

      public AssuranceMethod reauthenticateIn(String reauthenticateIn)
    • getReauthenticateIn

      @Nullable public String getReauthenticateIn()
      The duration after which the user must re-authenticate, regardless of user activity. Keep in mind that the re-authentication intervals for constraints take precedent over this value. Use the ISO 8601 period format for recurring time intervals (for example, PT2H, PT0S, PT43800H, and so on).
      Returns:
      reauthenticateIn
    • setReauthenticateIn

      public void setReauthenticateIn(String reauthenticateIn)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class VerificationMethod
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VerificationMethod
    • toString

      public String toString()
      Overrides:
      toString in class VerificationMethod