sec51 / twofactor

Golang two factor authentication library
ISC License
217 stars 66 forks source link

Added method to get the secret out #9

Closed mrobinsn closed 6 years ago

mrobinsn commented 6 years ago

Specifically I need this functionality to display the secret along-side the QR code to support users without QR code scanning capabilities.

This helper method makes it easier instead of having to decode the QR to pull the secret back out.