CreateParameters

data class CreateParameters @JvmOverloads constructor(val organizationId: String, val memberId: String, val expirationMinutes: Int? = null)

A data class wrapping the parameters needed to create a TOTP

Constructors

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

Properties

Link copied to clipboard
val expirationMinutes: Int? = 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