Class AuthenticationFactorSettingsTotpSettings
Settings related to Time-Based One-Time Passcodes (TOTP), such as hashing algo, totp time step, passcode length, and so on
SCIM++ Properties:
- idcsSearchable: false
- multiValued: false
- mutability: readWrite
- required: true
- returned: default
- type: complex
- uniqueness: none
Inherited Members
Namespace: Oci.IdentitydomainsService.Models
Assembly: OCI.DotNetSDK.Identitydomains.dll
Syntax
public class AuthenticationFactorSettingsTotpSettings
Properties
EmailOtpValidityDurationInMins
Declaration
[Required(ErrorMessage = "EmailOtpValidityDurationInMins is required.")]
[JsonProperty(PropertyName = "emailOtpValidityDurationInMins")]
public int? EmailOtpValidityDurationInMins { get; set; }
Property Value
Type | Description |
---|---|
int? | The period of time (in minutes) that a one-time passcode remains valid that the system sends by email.
|
Remarks
Required
EmailPasscodeLength
Declaration
[Required(ErrorMessage = "EmailPasscodeLength is required.")]
[JsonProperty(PropertyName = "emailPasscodeLength")]
public int? EmailPasscodeLength { get; set; }
Property Value
Type | Description |
---|---|
int? | Exact length of the email one-time passcode.
|
Remarks
Required
HashingAlgorithm
Declaration
[Required(ErrorMessage = "HashingAlgorithm is required.")]
[JsonProperty(PropertyName = "hashingAlgorithm")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AuthenticationFactorSettingsTotpSettings.HashingAlgorithmEnum? HashingAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
AuthenticationFactorSettingsTotpSettings.HashingAlgorithmEnum? | The hashing algorithm to be used to calculate a One-Time Passcode. By default, the system uses SHA1.
|
Remarks
Required
JwtValidityDurationInSecs
Declaration
[Required(ErrorMessage = "JwtValidityDurationInSecs is required.")]
[JsonProperty(PropertyName = "jwtValidityDurationInSecs")]
public int? JwtValidityDurationInSecs { get; set; }
Property Value
Type | Description |
---|---|
int? | The period of time (in seconds) that a JSON Web Token (JWT) is valid
|
Remarks
Required
KeyRefreshIntervalInDays
Declaration
[Required(ErrorMessage = "KeyRefreshIntervalInDays is required.")]
[JsonProperty(PropertyName = "keyRefreshIntervalInDays")]
public int? KeyRefreshIntervalInDays { get; set; }
Property Value
Type | Description |
---|---|
int? | The duration of time (in days) after which the shared secret has to be refreshed
|
Remarks
Required
PasscodeLength
Declaration
[Required(ErrorMessage = "PasscodeLength is required.")]
[JsonProperty(PropertyName = "passcodeLength")]
public int? PasscodeLength { get; set; }
Property Value
Type | Description |
---|---|
int? | Exact length of the One-Time Passcode that the system should generate
|
Remarks
Required
SmsOtpValidityDurationInMins
Declaration
[Required(ErrorMessage = "SmsOtpValidityDurationInMins is required.")]
[JsonProperty(PropertyName = "smsOtpValidityDurationInMins")]
public int? SmsOtpValidityDurationInMins { get; set; }
Property Value
Type | Description |
---|---|
int? | 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
|
Remarks
Required
SmsPasscodeLength
Declaration
[Required(ErrorMessage = "SmsPasscodeLength is required.")]
[JsonProperty(PropertyName = "smsPasscodeLength")]
public int? SmsPasscodeLength { get; set; }
Property Value
Type | Description |
---|---|
int? | Exact length of the Short Message Service (SMS) One-Time Passcode
|
Remarks
Required
TimeStepInSecs
Declaration
[Required(ErrorMessage = "TimeStepInSecs is required.")]
[JsonProperty(PropertyName = "timeStepInSecs")]
public int? TimeStepInSecs { get; set; }
Property Value
Type | Description |
---|---|
int? | Time (in secs) to be used as the time step
|
Remarks
Required
TimeStepTolerance
Declaration
[Required(ErrorMessage = "TimeStepTolerance is required.")]
[JsonProperty(PropertyName = "timeStepTolerance")]
public int? TimeStepTolerance { get; set; }
Property Value
Type | Description |
---|---|
int? | The tolerance/step-size that the system should use when validating a One-Time Passcode
|
Remarks
Required