Package com.okta.sdk.resource.model
Class PossessionConstraint
java.lang.Object
com.okta.sdk.resource.model.PossessionConstraint
- 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 PossessionConstraint
extends Object
implements Serializable
PossessionConstraint
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Indicates if device-bound Factors are required.static enum
Indicates if any secrets or private keys used during authentication must be hardware protected and not exportable.static enum
Gets or Sets methodsstatic enum
Indicates if phishing-resistant Factors are required.static enum
Gets or Sets typesstatic enum
Indicates if the user needs to approve an Okta Verify prompt or provide biometrics (meets NIST AAL2 requirements).static enum
Indicates the user interaction requirement (PIN or biometrics) to ensure verification of a possession factor -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddauthenticationMethodsItem
(AuthenticationMethodObject authenticationMethodsItem) addexcludedAuthenticationMethodsItem
(AuthenticationMethodObject excludedAuthenticationMethodsItem) addmethodsItem
(PossessionConstraint.MethodsEnum methodsItem) addtypesItem
(PossessionConstraint.TypesEnum typesItem) authenticationMethods
(List<AuthenticationMethodObject> authenticationMethods) deviceBound
(PossessionConstraint.DeviceBoundEnum deviceBound) boolean
excludedAuthenticationMethods
(List<AuthenticationMethodObject> excludedAuthenticationMethods) This property specifies the precise authenticator and method for authentication.Indicates if device-bound Factors are required.This property specifies the precise authenticator and method to exclude from authentication.Indicates if any secrets or private keys used during authentication must be hardware protected and not exportable.The Authenticator methods that are permittedIndicates if phishing-resistant Factors are required.The 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 permittedIndicates if the user needs to approve an Okta Verify prompt or provide biometrics (meets NIST AAL2 requirements).Indicates the user interaction requirement (PIN or biometrics) to ensure verification of a possession factorhardwareProtection
(PossessionConstraint.HardwareProtectionEnum hardwareProtection) int
hashCode()
methods
(List<PossessionConstraint.MethodsEnum> methods) phishingResistant
(PossessionConstraint.PhishingResistantEnum phishingResistant) reauthenticateIn
(String reauthenticateIn) void
setAuthenticationMethods
(List<AuthenticationMethodObject> authenticationMethods) void
setDeviceBound
(PossessionConstraint.DeviceBoundEnum deviceBound) void
setExcludedAuthenticationMethods
(List<AuthenticationMethodObject> excludedAuthenticationMethods) void
setHardwareProtection
(PossessionConstraint.HardwareProtectionEnum hardwareProtection) void
setMethods
(List<PossessionConstraint.MethodsEnum> methods) void
setPhishingResistant
(PossessionConstraint.PhishingResistantEnum phishingResistant) void
setReauthenticateIn
(String reauthenticateIn) void
setRequired
(Boolean required) void
void
setUserPresence
(PossessionConstraint.UserPresenceEnum userPresence) void
setUserVerification
(PossessionConstraint.UserVerificationEnum userVerification) toString()
types
(List<PossessionConstraint.TypesEnum> types) userPresence
(PossessionConstraint.UserPresenceEnum userPresence) userVerification
(PossessionConstraint.UserVerificationEnum userVerification)
-
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:
-
JSON_PROPERTY_DEVICE_BOUND
- See Also:
-
JSON_PROPERTY_HARDWARE_PROTECTION
- See Also:
-
JSON_PROPERTY_PHISHING_RESISTANT
- See Also:
-
JSON_PROPERTY_USER_PRESENCE
- See Also:
-
JSON_PROPERTY_USER_VERIFICATION
- See Also:
-
-
Constructor Details
-
PossessionConstraint
public PossessionConstraint()
-
-
Method Details
-
authenticationMethods
public PossessionConstraint authenticationMethods(List<AuthenticationMethodObject> authenticationMethods) -
addauthenticationMethodsItem
public PossessionConstraint 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 PossessionConstraint excludedAuthenticationMethods(List<AuthenticationMethodObject> excludedAuthenticationMethods) -
addexcludedAuthenticationMethodsItem
public PossessionConstraint 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
-
deviceBound
-
getDeviceBound
Indicates if device-bound Factors are required. This property is only set for `POSSESSION` constraints.- Returns:
- deviceBound
-
setDeviceBound
-
hardwareProtection
public PossessionConstraint hardwareProtection(PossessionConstraint.HardwareProtectionEnum hardwareProtection) -
getHardwareProtection
Indicates if any secrets or private keys used during authentication must be hardware protected and not exportable. This property is only set for `POSSESSION` constraints.- Returns:
- hardwareProtection
-
setHardwareProtection
-
phishingResistant
public PossessionConstraint phishingResistant(PossessionConstraint.PhishingResistantEnum phishingResistant) -
getPhishingResistant
Indicates if phishing-resistant Factors are required. This property is only set for `POSSESSION` constraints.- Returns:
- phishingResistant
-
setPhishingResistant
-
userPresence
-
getUserPresence
Indicates if the user needs to approve an Okta Verify prompt or provide biometrics (meets NIST AAL2 requirements). This property is only set for `POSSESSION` constraints.- Returns:
- userPresence
-
setUserPresence
-
userVerification
public PossessionConstraint userVerification(PossessionConstraint.UserVerificationEnum userVerification) -
getUserVerification
Indicates the user interaction requirement (PIN or biometrics) to ensure verification of a possession factor- Returns:
- userVerification
-
setUserVerification
-
equals
-
hashCode
public int hashCode() -
toString
-