OneTimeCode

OneTimeCode

Interface representing one time code and its validity period.

interface OneTimeCode : Serializable

Parameters

Name Summary
code

The issued code.

expireTime

MIRACL MFA system time when the code will expire.

nowTime

The current MIRACL MFA system time.

ttlSeconds

The expiration period in seconds.

Functions

Name Summary
equals
Content
open operator override fun equals(other: Any?): Boolean


hashCode
Content
open override fun hashCode(): Int


toString
Content
open override fun toString(): String


Properties

Name Summary
code abstract val code: String
expireTime abstract val expireTime: Long
nowTime abstract val nowTime: Long
ttlSeconds abstract val ttlSeconds: Int

Inheritors

Name
OTP
QuickCode