Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
anubhavranjan committed Jul 18, 2022
2 parents 6544dd5 + cad6c8c commit 893997e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ TotpAuth.Authenticator.GenerateKey()
// Example: 5PC4TPFPQPX7HPOS
// Generate OTP
var totp = new Totp.Authenticator();
var totp = new TotpAuth.Authenticator();
totp.GetCode("SECRETKEY");
// Example: 788644
// Validate Code
var totp = new Totp.Authenticator();
var totp = new TotpAuth.Authenticator();
totp.CheckCode("5PC4TPFPQPX7HPOS", "788644");
// Example: true
Expand Down

0 comments on commit 893997e

Please sign in to comment.