Package com.okta.sdk.resource.model
Class AccessPolicyConstraint
java.lang.Object
com.okta.sdk.resource.model.AccessPolicyConstraint
- 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 AccessPolicyConstraint
extends Object
implements Serializable
AccessPolicyConstraint
- 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
(AccessPolicyConstraint.MethodsEnum methodsItem) addtypesItem
(AccessPolicyConstraint.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<AccessPolicyConstraint.MethodsEnum> methods) reauthenticateIn
(String reauthenticateIn) void
setAuthenticationMethods
(List<AuthenticationMethodObject> authenticationMethods) void
setExcludedAuthenticationMethods
(List<AuthenticationMethodObject> excludedAuthenticationMethods) void
setMethods
(List<AccessPolicyConstraint.MethodsEnum> methods) void
setReauthenticateIn
(String reauthenticateIn) void
setRequired
(Boolean required) void
toString()
-
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
-
AccessPolicyConstraint
public AccessPolicyConstraint()
-
-
Method Details
-
authenticationMethods
public AccessPolicyConstraint authenticationMethods(List<AuthenticationMethodObject> authenticationMethods) -
addauthenticationMethodsItem
public AccessPolicyConstraint 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 AccessPolicyConstraint excludedAuthenticationMethods(List<AuthenticationMethodObject> excludedAuthenticationMethods) -
addexcludedAuthenticationMethodsItem
public AccessPolicyConstraint 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
-