Class AuthenticationFactorSettingsTotpSettings.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydomains.model.AuthenticationFactorSettingsTotpSettings.Builder
-
- Enclosing class:
- AuthenticationFactorSettingsTotpSettings
public static class AuthenticationFactorSettingsTotpSettings.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationFactorSettingsTotpSettingsbuild()AuthenticationFactorSettingsTotpSettings.Buildercopy(AuthenticationFactorSettingsTotpSettings model)AuthenticationFactorSettingsTotpSettings.BuilderemailOtpValidityDurationInMins(Integer emailOtpValidityDurationInMins)The period of time (in minutes) that a one-time passcode remains valid that the system sends by email.AuthenticationFactorSettingsTotpSettings.BuilderemailPasscodeLength(Integer emailPasscodeLength)Exact length of the email one-time passcode.AuthenticationFactorSettingsTotpSettings.BuilderhashingAlgorithm(AuthenticationFactorSettingsTotpSettings.HashingAlgorithm hashingAlgorithm)The hashing algorithm to be used to calculate a One-Time Passcode.AuthenticationFactorSettingsTotpSettings.BuilderjwtValidityDurationInSecs(Integer jwtValidityDurationInSecs)The period of time (in seconds) that a JSON Web Token (JWT) is validAuthenticationFactorSettingsTotpSettings.BuilderkeyRefreshIntervalInDays(Integer keyRefreshIntervalInDays)The duration of time (in days) after which the shared secret has to be refreshedAuthenticationFactorSettingsTotpSettings.BuilderpasscodeLength(Integer passcodeLength)Exact length of the One-Time Passcode that the system should generateAuthenticationFactorSettingsTotpSettings.BuildersmsOtpValidityDurationInMins(Integer smsOtpValidityDurationInMins)The period of time (in minutes) for which a One-Time Passcode that the system sends by Short Message Service (SMS) or by voice remains validAuthenticationFactorSettingsTotpSettings.BuildersmsPasscodeLength(Integer smsPasscodeLength)Exact length of the Short Message Service (SMS) One-Time PasscodeAuthenticationFactorSettingsTotpSettings.BuildertimeStepInSecs(Integer timeStepInSecs)Time (in secs) to be used as the time stepAuthenticationFactorSettingsTotpSettings.BuildertimeStepTolerance(Integer timeStepTolerance)The tolerance/step-size that the system should use when validating a One-Time Passcode
-
-
-
Method Detail
-
hashingAlgorithm
public AuthenticationFactorSettingsTotpSettings.Builder hashingAlgorithm(AuthenticationFactorSettingsTotpSettings.HashingAlgorithm hashingAlgorithm)
The hashing algorithm to be used to calculate a One-Time Passcode.By default, the system uses SHA1.
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none
- Parameters:
hashingAlgorithm- the value to set- Returns:
- this builder
-
passcodeLength
public AuthenticationFactorSettingsTotpSettings.Builder passcodeLength(Integer passcodeLength)
Exact length of the One-Time Passcode that the system should generate*SCIM++ Properties:** - idcsMaxValue: 10 - idcsMinValue: 4 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none
- Parameters:
passcodeLength- the value to set- Returns:
- this builder
-
keyRefreshIntervalInDays
public AuthenticationFactorSettingsTotpSettings.Builder keyRefreshIntervalInDays(Integer keyRefreshIntervalInDays)
The duration of time (in days) after which the shared secret has to be refreshed*SCIM++ Properties:** - idcsMaxValue: 999 - idcsMinValue: 30 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none
- Parameters:
keyRefreshIntervalInDays- the value to set- Returns:
- this builder
-
timeStepInSecs
public AuthenticationFactorSettingsTotpSettings.Builder timeStepInSecs(Integer timeStepInSecs)
Time (in secs) to be used as the time step*SCIM++ Properties:** - idcsMaxValue: 300 - idcsMinValue: 30 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none
- Parameters:
timeStepInSecs- the value to set- Returns:
- this builder
-
timeStepTolerance
public AuthenticationFactorSettingsTotpSettings.Builder timeStepTolerance(Integer timeStepTolerance)
The tolerance/step-size that the system should use when validating a One-Time Passcode*SCIM++ Properties:** - idcsMaxValue: 3 - idcsMinValue: 2 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none
- Parameters:
timeStepTolerance- the value to set- Returns:
- this builder
-
smsOtpValidityDurationInMins
public AuthenticationFactorSettingsTotpSettings.Builder smsOtpValidityDurationInMins(Integer smsOtpValidityDurationInMins)
The period of time (in minutes) for which a One-Time Passcode that the system sends by Short Message Service (SMS) or by voice remains valid*SCIM++ Properties:** - idcsMaxValue: 60 - idcsMinValue: 2 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none
- Parameters:
smsOtpValidityDurationInMins- the value to set- Returns:
- this builder
-
jwtValidityDurationInSecs
public AuthenticationFactorSettingsTotpSettings.Builder jwtValidityDurationInSecs(Integer jwtValidityDurationInSecs)
The period of time (in seconds) that a JSON Web Token (JWT) is valid*SCIM++ Properties:** - idcsMaxValue: 99999 - idcsMinValue: 30 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none
- Parameters:
jwtValidityDurationInSecs- the value to set- Returns:
- this builder
-
smsPasscodeLength
public AuthenticationFactorSettingsTotpSettings.Builder smsPasscodeLength(Integer smsPasscodeLength)
Exact length of the Short Message Service (SMS) One-Time Passcode*SCIM++ Properties:** - idcsMaxValue: 10 - idcsMinValue: 4 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none
- Parameters:
smsPasscodeLength- the value to set- Returns:
- this builder
-
emailOtpValidityDurationInMins
public AuthenticationFactorSettingsTotpSettings.Builder emailOtpValidityDurationInMins(Integer emailOtpValidityDurationInMins)
The period of time (in minutes) that a one-time passcode remains valid that the system sends by email.*Added In:** 18.1.2
*SCIM++ Properties:** - idcsMaxValue: 60 - idcsMinValue: 2 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none
- Parameters:
emailOtpValidityDurationInMins- the value to set- Returns:
- this builder
-
emailPasscodeLength
public AuthenticationFactorSettingsTotpSettings.Builder emailPasscodeLength(Integer emailPasscodeLength)
Exact length of the email one-time passcode.*Added In:** 18.1.2
*SCIM++ Properties:** - idcsMaxValue: 10 - idcsMinValue: 4 - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: integer - uniqueness: none
- Parameters:
emailPasscodeLength- the value to set- Returns:
- this builder
-
build
public AuthenticationFactorSettingsTotpSettings build()
-
copy
public AuthenticationFactorSettingsTotpSettings.Builder copy(AuthenticationFactorSettingsTotpSettings model)
-
-