Package com.okta.sdk.resource.model
Class AuthenticatorMethodConstraint
java.lang.Object
com.okta.sdk.resource.model.AuthenticatorMethodConstraint
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class AuthenticatorMethodConstraint
extends Object
implements Serializable
Limits the authenticators that can be used for a given method. Currently, only the `otp` method supports constraints, and Google authenticator (key : 'google_otp') is the only allowed authenticator.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Gets or Sets method -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllowedAuthenticatorsItem
(AuthenticatorIdentity allowedAuthenticatorsItem) allowedAuthenticators
(List<AuthenticatorIdentity> allowedAuthenticators) boolean
Get allowedAuthenticatorsGet methodint
hashCode()
void
setAllowedAuthenticators
(List<AuthenticatorIdentity> allowedAuthenticators) void
toString()
-
Field Details
-
JSON_PROPERTY_ALLOWED_AUTHENTICATORS
- See Also:
-
JSON_PROPERTY_METHOD
- See Also:
-
-
Constructor Details
-
AuthenticatorMethodConstraint
public AuthenticatorMethodConstraint()
-
-
Method Details
-
allowedAuthenticators
public AuthenticatorMethodConstraint allowedAuthenticators(List<AuthenticatorIdentity> allowedAuthenticators) -
addAllowedAuthenticatorsItem
public AuthenticatorMethodConstraint addAllowedAuthenticatorsItem(AuthenticatorIdentity allowedAuthenticatorsItem) -
getAllowedAuthenticators
Get allowedAuthenticators- Returns:
- allowedAuthenticators
-
setAllowedAuthenticators
-
method
-
getMethod
Get method- Returns:
- method
-
setMethod
-
equals
-
hashCode
public int hashCode() -
toString
-