RecoverParameters

data class RecoverParameters(val recoveryCode: String, val sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)

A data class wrapping the parameters use in a TOTP recover request

Constructors

Link copied to clipboard
constructor(recoveryCode: String, sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)

Properties

Link copied to clipboard

The recovery code to authenticate.

Link copied to clipboard

indicates how long the session should last before it expires