blob: cb0065f62079f89f28d1f9eb9e96edb29fef503d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
namespace TwoStepsAuthenticator.UnitTests
{
internal class MockUsedCodesManager : IUsedCodesManager {
public ulong? LastChallenge { get; private set; }
public string LastCode { get; private set; }
public void AddCode(ulong challenge, string code) {
this.LastChallenge = challenge;
this.LastCode = code;
}
public bool IsCodeUsed(ulong challenge, string code) {
return false;
}
}
}
|