AuthenticateParameters

data class AuthenticateParameters(val totpCode: String, val sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)

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

Constructors

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

Properties

Link copied to clipboard

indicates how long the session should last before it expires

Link copied to clipboard

The TOTP code to authenticate. The TOTP code should consist of 6 digits.