Package com.okta.authn.sdk.impl.resource
Class DefaultOptions
java.lang.Object
com.okta.sdk.impl.resource.AbstractPropertyRetriever
com.okta.sdk.impl.resource.AbstractResource
com.okta.authn.sdk.impl.resource.DefaultOptions
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.okta.sdk.impl.resource.AbstractResource
propertiesFields inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever
readLock, writeLock -
Constructor Summary
ConstructorsConstructorDescriptionDefaultOptions(com.okta.sdk.impl.ds.InternalDataStore dataStore) DefaultOptions(com.okta.sdk.impl.ds.InternalDataStore dataStore, Map<String, Object> properties) -
Method Summary
Modifier and TypeMethodDescriptionReturns true if the user should transition back toMFA_ENROLLstate after successful factor enrollment when additional optional factors are available for enrollment.Returns true if user should transition toPASSWORD_WARNstate beforeSUCCESSif the user’s password is about to expire and within their password policy warn period.setMultiOptionalFactorEnroll(Boolean multiOptionalFactorEnroll) Sets whether user should transaction back to MFA_ENROLL state after successful factor enrollment when additional optional factors are available for enrollment.setWarnBeforePasswordExpired(Boolean warnBeforePasswordExpired) Sets whether if user should transition toPASSWORD_WARNstate beforeSUCCESSif the user’s password is about to expire and within their password policy warn period.Methods inherited from class com.okta.sdk.impl.resource.AbstractResource
clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, valuesMethods inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever
getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setPropertyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from interface com.okta.sdk.resource.PropertyRetriever
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringListMethods inherited from interface com.okta.sdk.resource.Resource
getResourceHref, setResourceHref
-
Constructor Details
-
DefaultOptions
public DefaultOptions(com.okta.sdk.impl.ds.InternalDataStore dataStore) -
DefaultOptions
-
-
Method Details
-
getPropertyDescriptors
-
isMultiOptionalFactorEnroll
Description copied from interface:OptionsReturns true if the user should transition back toMFA_ENROLLstate after successful factor enrollment when additional optional factors are available for enrollment. (not required)- Specified by:
isMultiOptionalFactorEnrollin interfaceOptions- Returns:
- true if user can enroll in multiple factors.
-
setMultiOptionalFactorEnroll
Description copied from interface:OptionsSets whether user should transaction back to MFA_ENROLL state after successful factor enrollment when additional optional factors are available for enrollment. (not required)- Specified by:
setMultiOptionalFactorEnrollin interfaceOptions- Returns:
- the current object for method chaining.
-
isWarnBeforePasswordExpired
Description copied from interface:OptionsReturns true if user should transition toPASSWORD_WARNstate beforeSUCCESSif the user’s password is about to expire and within their password policy warn period. (not required)- Specified by:
isWarnBeforePasswordExpiredin interfaceOptions- Returns:
- true if user should warned about password expiration.
-
setWarnBeforePasswordExpired
Description copied from interface:OptionsSets whether if user should transition toPASSWORD_WARNstate beforeSUCCESSif the user’s password is about to expire and within their password policy warn period. (not required)- Specified by:
setWarnBeforePasswordExpiredin interfaceOptions- Returns:
- the current object for method chaining.
-