diff options
author | Brecht Carlier <erazerbrecht@gmail.com> | 2017-05-10 19:59:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 19:59:19 +0200 |
commit | 204747f437bcd6280fbcb911a3d9133578a66025 (patch) | |
tree | 69a20ff3c574e9095879169db0fee1c6b86962ad | |
parent | 6de5b8d523cd8551fc2b192e41d39aaad533710b (diff) | |
download | Otp.NET-204747f437bcd6280fbcb911a3d9133578a66025.zip Otp.NET-204747f437bcd6280fbcb911a3d9133578a66025.tar.gz Otp.NET-204747f437bcd6280fbcb911a3d9133578a66025.tar.bz2 |
Update README.md
Fixed documentation about 'Verfication'
-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. |