QuickCode

QuickCode

Object representing Quick Code and its validity period.

data class QuickCode(code: String, nowTime: Long, expireTime: Long, ttlSeconds: Int) : OneTimeCode

Parameters

Name Summary
code

The issued Quick Code.

expireTime

MIRACL MFA system time when the code will expire.

nowTime

The current MIRACL MFA system time.

ttlSeconds

The expiration period in seconds.

Constructors

Name Summary
QuickCode

The issued Quick Code.

fun QuickCode(code: String, nowTime: Long, expireTime: Long, ttlSeconds: Int)

Functions

Name Summary
component1
Content
operator fun component1(): String


component2
Content
operator fun component2(): Long


component3
Content
operator fun component3(): Long


component4
Content
operator fun component4(): Int


copy
Content
fun copy(code: String, nowTime: Long, expireTime: Long, ttlSeconds: Int): QuickCode


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

The issued Quick Code.

open override val code: String
expireTime

MIRACL MFA system time when the code will expire.

open override val expireTime: Long
nowTime

The current MIRACL MFA system time.

open override val nowTime: Long
ttlSeconds

The expiration period in seconds.

open override val ttlSeconds: Int