# OTP
data class OTP(val code: String, val nowTime: Long, val expireTime: Long, val ttlSeconds: Int) : OneTimeCode
Object representing one time password and its validity period.
# Parameters
code | The issued OTP. |
expireTime | MIRACL MFA system time when the OTP will expire. |
ttlSeconds | The expiration period in seconds. |
nowTime | The current MIRACL MFA system time. |
# Constructors
OTP | constructor(code: String, nowTime: Long, expireTime: Long, ttlSeconds: Int) |
# Properties
Name | Summary |
---|---|
code | open override val code: String |
expireTime | open override val expireTime: Long |
nowTime | open override val nowTime: Long |
ttlSeconds | open override val ttlSeconds: Int |