Package com.okta.sdk.resource.model
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="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class AssuranceMethod
extends VerificationMethod
implements Serializable
AssuranceMethod
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.okta.sdk.resource.model.VerificationMethod
JSON_PROPERTY_TYPE, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddconstraintsItem(AccessPolicyConstraints constraintsItem) constraints(List<AccessPolicyConstraints> constraints) booleanfactorMode(AssuranceMethodFactorMode factorMode) Get constraintsGet factorModeThe inactivity duration after which the user must re-authenticate.The duration after which the user must re-authenticate, regardless of user activity.inthashCode()inactivityPeriod(String inactivityPeriod) reauthenticateIn(String reauthenticateIn) voidsetConstraints(List<AccessPolicyConstraints> constraints) voidsetFactorMode(AssuranceMethodFactorMode factorMode) voidsetInactivityPeriod(String inactivityPeriod) voidsetReauthenticateIn(String reauthenticateIn) toString()Methods inherited from class com.okta.sdk.resource.model.VerificationMethod
getType, setType, type
-
Field Details
-
JSON_PROPERTY_CONSTRAINTS
- See Also:
-
JSON_PROPERTY_FACTOR_MODE
- See Also:
-
JSON_PROPERTY_INACTIVITY_PERIOD
- See Also:
-
JSON_PROPERTY_REAUTHENTICATE_IN
- See Also:
-
-
Constructor Details
-
AssuranceMethod
public AssuranceMethod()
-
-
Method Details
-
constraints
-
addconstraintsItem
-
getConstraints
Get constraints- Returns:
- constraints
-
setConstraints
-
factorMode
-
getFactorMode
Get factorMode- Returns:
- factorMode
-
setFactorMode
-
inactivityPeriod
-
getInactivityPeriod
The inactivity duration after which the user must re-authenticate. Use the ISO 8601 period format (for example, PT2H).- Returns:
- inactivityPeriod
-
setInactivityPeriod
-
reauthenticateIn
-
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
-
equals
- Overrides:
equalsin classVerificationMethod
-
hashCode
public int hashCode()- Overrides:
hashCodein classVerificationMethod
-
toString
- Overrides:
toStringin classVerificationMethod
-