Package com.okta.sdk.resource.model
Class KnowledgeConstraint
java.lang.Object
com.okta.sdk.resource.model.KnowledgeConstraint
- 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 KnowledgeConstraint
extends Object
implements Serializable
KnowledgeConstraint
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Gets or Sets methodsstatic enum
Gets or Sets types -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddauthenticationMethodsItem
(AuthenticationMethodObject authenticationMethodsItem) addexcludedAuthenticationMethodsItem
(AuthenticationMethodObject excludedAuthenticationMethodsItem) addmethodsItem
(KnowledgeConstraint.MethodsEnum methodsItem) addtypesItem
(KnowledgeConstraint.TypesEnum typesItem) authenticationMethods
(List<AuthenticationMethodObject> authenticationMethods) boolean
excludedAuthenticationMethods
(List<AuthenticationMethodObject> excludedAuthenticationMethods) This property specifies the precise authenticator and method for authentication.This property specifies the precise authenticator and method to exclude from authentication.The Authenticator methods that are permittedThe duration after which the user must re-authenticate regardless of user activity.This property indicates whether the knowledge or possession factor is required by the assurance.getTypes()
The Authenticator types that are permittedint
hashCode()
methods
(List<KnowledgeConstraint.MethodsEnum> methods) reauthenticateIn
(String reauthenticateIn) void
setAuthenticationMethods
(List<AuthenticationMethodObject> authenticationMethods) void
setExcludedAuthenticationMethods
(List<AuthenticationMethodObject> excludedAuthenticationMethods) void
setMethods
(List<KnowledgeConstraint.MethodsEnum> methods) void
setReauthenticateIn
(String reauthenticateIn) void
setRequired
(Boolean required) void
toString()
types
(List<KnowledgeConstraint.TypesEnum> types)
-
Field Details
-
JSON_PROPERTY_AUTHENTICATION_METHODS
- See Also:
-
JSON_PROPERTY_EXCLUDED_AUTHENTICATION_METHODS
- See Also:
-
JSON_PROPERTY_METHODS
- See Also:
-
JSON_PROPERTY_REAUTHENTICATE_IN
- See Also:
-
JSON_PROPERTY_REQUIRED
- See Also:
-
JSON_PROPERTY_TYPES
- See Also:
-
-
Constructor Details
-
KnowledgeConstraint
public KnowledgeConstraint()
-
-
Method Details
-
authenticationMethods
public KnowledgeConstraint authenticationMethods(List<AuthenticationMethodObject> authenticationMethods) -
addauthenticationMethodsItem
public KnowledgeConstraint addauthenticationMethodsItem(AuthenticationMethodObject authenticationMethodsItem) -
getAuthenticationMethods
This property specifies the precise authenticator and method for authentication. <x-lifecycle class=\"oie\"></x-lifecycle>- Returns:
- authenticationMethods
-
setAuthenticationMethods
-
excludedAuthenticationMethods
public KnowledgeConstraint excludedAuthenticationMethods(List<AuthenticationMethodObject> excludedAuthenticationMethods) -
addexcludedAuthenticationMethodsItem
public KnowledgeConstraint addexcludedAuthenticationMethodsItem(AuthenticationMethodObject excludedAuthenticationMethodsItem) -
getExcludedAuthenticationMethods
This property specifies the precise authenticator and method to exclude from authentication. <x-lifecycle class=\"oie\"></x-lifecycle>- Returns:
- excludedAuthenticationMethods
-
setExcludedAuthenticationMethods
public void setExcludedAuthenticationMethods(List<AuthenticationMethodObject> excludedAuthenticationMethods) -
methods
-
addmethodsItem
-
getMethods
The Authenticator methods that are permitted- Returns:
- methods
-
setMethods
-
reauthenticateIn
-
getReauthenticateIn
The duration after which the user must re-authenticate regardless of user activity. This re-authentication interval overrides the Verification Method object's `reauthenticateIn` interval. The supported values use ISO 8601 period format for recurring time intervals (for example, `PT1H`).- Returns:
- reauthenticateIn
-
setReauthenticateIn
-
required
-
getRequired
This property indicates whether the knowledge or possession factor is required by the assurance. It's optional in the request, but is always returned in the response. By default, this field is `true`. If the knowledge or possession constraint has values for `excludedAuthenticationMethods` the `required` value is false. <x-lifecycle class=\"oie\"></x-lifecycle>- Returns:
- required
-
setRequired
-
types
-
addtypesItem
-
getTypes
The Authenticator types that are permitted- Returns:
- types
-
setTypes
-
equals
-
hashCode
public int hashCode() -
toString
-