RealmOtpPolicyArgs

data class RealmOtpPolicyArgs(val algorithm: Output<String>? = null, val digits: Output<Int>? = null, val initialCounter: Output<Int>? = null, val lookAheadWindow: Output<Int>? = null, val period: Output<Int>? = null, val type: Output<String>? = null) : ConvertibleToJava<RealmOtpPolicyArgs>

Constructors

Link copied to clipboard
constructor(algorithm: Output<String>? = null, digits: Output<Int>? = null, initialCounter: Output<Int>? = null, lookAheadWindow: Output<Int>? = null, period: Output<Int>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val algorithm: Output<String>? = null

What hashing algorithm should be used to generate the OTP, Valid options are HmacSHA1,HmacSHA256 and HmacSHA512. Defaults to HmacSHA1.

Link copied to clipboard
val digits: Output<Int>? = null

How many digits the OTP have. Defaults to 6.

Link copied to clipboard
val initialCounter: Output<Int>? = null

What should the initial counter value be. Defaults to 2.

Link copied to clipboard
val lookAheadWindow: Output<Int>? = null

How far ahead should the server look just in case the token generator and server are out of time sync or counter sync. Defaults to 1.

Link copied to clipboard
val period: Output<Int>? = null

How many seconds should an OTP token be valid. Defaults to 30.

Link copied to clipboard
val type: Output<String>? = null

One Time Password Type, supported Values are totp for Time-Based One Time Password and hotp for Counter Based. Defaults to totp.

Functions

Link copied to clipboard
open override fun toJava(): RealmOtpPolicyArgs