TOTP

TOTP (timed one-time password) MFA factor

Types

Link copied to clipboard
@Serializable
data class Config(var issuer: String? = null)
Link copied to clipboard
@Serializable
data class Response(val secret: String, val qrCode: String, val uri: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun decodeResponse(json: JsonObject): FactorType.TOTP.Response
Link copied to clipboard
open suspend override fun encodeConfig(config: FactorType.TOTP.Config.() -> Unit): JsonObject