CreateParameters

data class CreateParameters(val organizationId: String, val memberId: String, val expirationMinutes: UInt? = null)

A data class wrapping the parameters needed to create a TOTP

Constructors

Link copied to clipboard
constructor(organizationId: String, memberId: String, expirationMinutes: UInt? = null)

Properties

Link copied to clipboard
val expirationMinutes: UInt? = null

The expiration for the TOTP instance. If the newly created TOTP is not authenticated within this time frame the TOTP will be unusable. Defaults to 60 (1 hour) with a minimum of 5 and a maximum of

Link copied to clipboard

The ID of the member to create the TOTP for

Link copied to clipboard

The ID of the organization the member belongs to