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-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class AssuranceMethod
extends VerificationMethod
implements Serializable
AssuranceMethod
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class com.okta.sdk.resource.model.VerificationMethod
JSON_PROPERTY_TYPE, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddconstraintsItem
(AccessPolicyConstraints constraintsItem) constraints
(List<AccessPolicyConstraints> constraints) boolean
factorMode
(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.int
hashCode()
inactivityPeriod
(String inactivityPeriod) reauthenticateIn
(String reauthenticateIn) void
setConstraints
(List<AccessPolicyConstraints> constraints) void
setFactorMode
(AssuranceMethodFactorMode factorMode) void
setInactivityPeriod
(String inactivityPeriod) void
setReauthenticateIn
(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:
equals
in classVerificationMethod
-
hashCode
public int hashCode()- Overrides:
hashCode
in classVerificationMethod
-
toString
- Overrides:
toString
in classVerificationMethod
-