diff options
author | Kyle Spearrin <kspearrin@users.noreply.github.com> | 2017-05-10 14:02:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 14:02:53 -0400 |
commit | 691b73e6212f1e98a973e3eb3e9582101ba2c200 (patch) | |
tree | 69a20ff3c574e9095879169db0fee1c6b86962ad | |
parent | 6de5b8d523cd8551fc2b192e41d39aaad533710b (diff) | |
parent | 204747f437bcd6280fbcb911a3d9133578a66025 (diff) | |
download | Otp.NET-691b73e6212f1e98a973e3eb3e9582101ba2c200.zip Otp.NET-691b73e6212f1e98a973e3eb3e9582101ba2c200.tar.gz Otp.NET-691b73e6212f1e98a973e3eb3e9582101ba2c200.tar.bz2 |
Merge pull request #2 from ErazerBrecht/patch-1
Update README.md
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,8 +72,8 @@ var remainingSeconds = totp.RemaininSeconds(DateTime.UtcNow); The TOTP implementation provides a mechanism for verifying TOTP codes that are passed in. There is a method called VerifyTotp with an overload that takes a specific timestamp. ```c# -public bool VerifyTotp(int totp, out long timeWindowUsed, VerificationWindow window = null); -public bool VerifyTotp(DateTime timestamp, int totp, out long timeWindowUsed, VerificationWindow window = null) +public bool VerifyTotp(string totp, out long timeWindowUsed, VerificationWindow window = null); +public bool VerifyTotp(DateTime timestamp, string totp, out long timeWindowUsed, VerificationWindow window = null) ``` If the overload that doesn't take a timestamp is called, DateTime.UtcNow will be used as the comperand. |