summaryrefslogtreecommitdiffstats
path: root/TwoStepsAuthenticator.UnitTests/CounterAuthenticatorTests.cs
diff options
context:
space:
mode:
authorChristoph Enzmann <christoph.enzmann@confer.ch>2013-12-05 13:01:46 +0100
committerChristoph Enzmann <christoph.enzmann@confer.ch>2013-12-05 13:01:46 +0100
commit0795b5d4083d9ad2cd5dfbcb5c12277f350485b2 (patch)
tree1a1878b94fc39a96eb37af291eda1796fbb627a5 /TwoStepsAuthenticator.UnitTests/CounterAuthenticatorTests.cs
parentb52682a9b3216a7d966238e3c8ed6b4da3920313 (diff)
downloadTwoStepsAuthenticator-0795b5d4083d9ad2cd5dfbcb5c12277f350485b2.zip
TwoStepsAuthenticator-0795b5d4083d9ad2cd5dfbcb5c12277f350485b2.tar.gz
TwoStepsAuthenticator-0795b5d4083d9ad2cd5dfbcb5c12277f350485b2.tar.bz2
GenerateKey now static, Update README.md
Diffstat (limited to 'TwoStepsAuthenticator.UnitTests/CounterAuthenticatorTests.cs')
-rw-r--r--TwoStepsAuthenticator.UnitTests/CounterAuthenticatorTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/TwoStepsAuthenticator.UnitTests/CounterAuthenticatorTests.cs b/TwoStepsAuthenticator.UnitTests/CounterAuthenticatorTests.cs
index ebe7493..4738ba1 100644
--- a/TwoStepsAuthenticator.UnitTests/CounterAuthenticatorTests.cs
+++ b/TwoStepsAuthenticator.UnitTests/CounterAuthenticatorTests.cs
@@ -13,7 +13,7 @@ namespace TwoStepsAuthenticator.UnitTests {
[Test]
public void CreateKey() {
var authenticator = new CounterAuthenticator();
- var secret = authenticator.GenerateKey();
+ var secret = Authenticator.GenerateKey();
var code = authenticator.GetCode(secret, 0L);
Assert.IsTrue(authenticator.CheckCode(secret, code, 0L), "Generated Code doesn't verify");