OTP

OTP


data class OTP(code: String, nowTime: Long, expireTime: Long, 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
fun OTP(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