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-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class PossessionConstraint
extends Object
implements Serializable
PossessionConstraint
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates if device-bound Factors are required.static enumIndicates if any secrets or private keys used during authentication must be hardware protected and not exportable.static enumGets or Sets methodsstatic enumIndicates if phishing-resistant Factors are required.static enumGets or Sets typesstatic enumIndicates if the user needs to approve an Okta Verify prompt or provide biometrics (meets NIST AAL2 requirements).static enumIndicates the user interaction requirement (PIN or biometrics) to ensure verification of a possession factor -
Field Summary
Fields -
Constructor Summary
Constructors -
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) booleanexcludedAuthenticationMethods(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) inthashCode()methods(List<PossessionConstraint.MethodsEnum> methods) phishingResistant(PossessionConstraint.PhishingResistantEnum phishingResistant) reauthenticateIn(String reauthenticateIn) voidsetAuthenticationMethods(List<AuthenticationMethodObject> authenticationMethods) voidsetDeviceBound(PossessionConstraint.DeviceBoundEnum deviceBound) voidsetExcludedAuthenticationMethods(List<AuthenticationMethodObject> excludedAuthenticationMethods) voidsetHardwareProtection(PossessionConstraint.HardwareProtectionEnum hardwareProtection) voidsetMethods(List<PossessionConstraint.MethodsEnum> methods) voidsetPhishingResistant(PossessionConstraint.PhishingResistantEnum phishingResistant) voidsetReauthenticateIn(String reauthenticateIn) voidsetRequired(Boolean required) voidvoidsetUserPresence(PossessionConstraint.UserPresenceEnum userPresence) voidsetUserVerification(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
-