TotpSecret

external interface TotpSecret : JsAny(source)

Properties

Link copied to clipboard
abstract val codeIntervalSeconds: Int
Link copied to clipboard
abstract val codeLength: Int
Link copied to clipboard
Link copied to clipboard
abstract val hashingAlgorithm: String
Link copied to clipboard
abstract val secretKey: String

Functions

Link copied to clipboard
abstract fun generateQrCodeUrl(): String

With no arguments, so that the SDK applies its defaults (it does for undefined, not for null).

abstract fun generateQrCodeUrl(accountName: String? = definedExternally, issuer: String? = definedExternally): String