one-time.qrgen
hotp-file
(hotp-file {:keys [image-type image-size label user secret counter], :or {image-type :JPG, image-size 125}})
Returns a java.io.File with the hotp qrcode
hotp-stream
(hotp-stream {:keys [image-type image-size label user secret counter], :or {image-type :JPG, image-size 125}})
Returns a java.io.ByteArrayOutputStream with the hotp qrcode
totp-file
(totp-file {:keys [image-type image-size label user secret], :or {image-type :JPG, image-size 125}})
Returns a java.io.File with the totp qrcode
totp-stream
(totp-stream {:keys [image-type image-size label user secret], :or {image-type :JPG, image-size 125}})
Returns a java.io.ByteArrayOutputStream with the totp qrcode