Companion

object Companion

Functions

Link copied to clipboard
fun forHotp(initialCounter: Long, base32Secret: ByteArray): OtpAuthUriBuilder.Hotp

Creates a new OtpAuthUriBuilder for a HOTP OTP Auth URI.

Link copied to clipboard
fun forTotp(base32Secret: ByteArray): OtpAuthUriBuilder.Totp

Creates a new OtpAuthUriBuilder for a TOTP OTP Auth URI.