Package com.okta.sdk.resource.model
Class SsprPrimaryRequirement
java.lang.Object
com.okta.sdk.resource.model.SsprPrimaryRequirement
- 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 SsprPrimaryRequirement
extends Object
implements Serializable
Defines the authenticators permitted for the initial authentication step of password recovery
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Gets or Sets methods -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddmethodConstraintsItem
(AuthenticatorMethodConstraint methodConstraintsItem) addmethodsItem
(SsprPrimaryRequirement.MethodsEnum methodsItem) boolean
Constraints on the values specified in the `methods` array.Authenticator methods allowed for the initial authentication step of password recovery.int
hashCode()
methodConstraints
(List<AuthenticatorMethodConstraint> methodConstraints) methods
(List<SsprPrimaryRequirement.MethodsEnum> methods) void
setMethodConstraints
(List<AuthenticatorMethodConstraint> methodConstraints) void
setMethods
(List<SsprPrimaryRequirement.MethodsEnum> methods) toString()
-
Field Details
-
JSON_PROPERTY_METHOD_CONSTRAINTS
- See Also:
-
JSON_PROPERTY_METHODS
- See Also:
-
-
Constructor Details
-
SsprPrimaryRequirement
public SsprPrimaryRequirement()
-
-
Method Details
-
methodConstraints
public SsprPrimaryRequirement methodConstraints(List<AuthenticatorMethodConstraint> methodConstraints) -
addmethodConstraintsItem
public SsprPrimaryRequirement addmethodConstraintsItem(AuthenticatorMethodConstraint methodConstraintsItem) -
getMethodConstraints
Constraints on the values specified in the `methods` array. Specifying a constraint limits methods to specific authenticator(s). Currently, Google OTP is the only accepted constraint.- Returns:
- methodConstraints
-
setMethodConstraints
-
methods
-
addmethodsItem
-
getMethods
Authenticator methods allowed for the initial authentication step of password recovery. Method `otp` requires a constraint limiting it to a Google authenticator.- Returns:
- methods
-
setMethods
-
equals
-
hashCode
public int hashCode() -
toString
-