MfaChallenge

@Serializable
data class MfaChallenge(val id: String, val factorType: String, val expiresAt: Instant)(source)

A challenge to verify the user's identity.

Constructors

Link copied to clipboard
constructor(id: String, factorType: String, expiresAt: Instant)

Properties

Link copied to clipboard
@Serializable(with = UnixTimestampSerializer::class)
@SerialName(value = "expires_at")
val expiresAt: Instant

Timestamp when this challenge will no longer be usable.

Link copied to clipboard
@SerialName(value = "type")
val factorType: String

Factor Type which generated the challenge.

Link copied to clipboard
val id: String

The id of the challenge.