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-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.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
-