Hi
Thanks for a great package.
Please could you explain the purpose of the (*Totp) OTP() function?
I'm struggling to understand what it is for and how it would fit into a 2FA workflow.
Apologies, I can see the function in use in totp_test.go
It returns an OTP that can used in replacement of a code generated by Google Authenticator.
Handy for testing! Closing ticket.
Hi Thanks for a great package. Please could you explain the purpose of the (*Totp) OTP() function? I'm struggling to understand what it is for and how it would fit into a 2FA workflow.
Many thanks.