summaryrefslogtreecommitdiffstats
path: root/TwoStepsAuthenticator.UnitTests/TimeAuthenticatorTests.cs
Commit message (Collapse)AuthorAgeFilesLines
* CheckCode method made obsolete if no user is passedGuillaume Lacasa2015-06-291-7/+9
| | | | Unit tests updated
* * Fixes for unit testsDavid Thornley2015-06-241-3/+3
| | | | | - Prevent_code_reuse() - requires a dummy user for UsedCodesManager to detect reuse. - VerifyUsedTime() - parsed date is GMT+1 resultant usedTime.Hour assertion was 3am in GMT+10 (just patched it to run correctly here, by comparing against date fed to nowDate lambda).
* The UsedCodeManager needs to have an user object, in order to avoid a user ↵v1.0Guillaume Lacasa2014-03-171-2/+2
| | | | to block a temp code for every other users
* Merge branch 'master' of https://github.com/dusk0r/TwoStepsAuthenticatorGuillaume Lacasa2013-12-061-0/+13
|\ | | | | | | | | | | | | Conflicts: README.md TwoStepsAuthenticator.UnitTests/UsedCodesManagerTests.cs TwoStepsAuthenticator/CounterAuthenticator.cs
| * Removed UsedCodesManager from CounterAuthenticatorChristoph Enzmann2013-12-061-0/+13
| |
* | Documentation updateGuillaume Lacasa2013-12-061-12/+19
|/ | | | Code review
* Use one global default UsedCodesManagerChristoph Enzmann2013-12-061-3/+21
|
* Methods for synchronizationChristoph Enzmann2013-12-051-0/+15
|
* GenerateKey now static, Update README.mdChristoph Enzmann2013-12-051-1/+1
|
* Counter based OTP added, removed UsedCodesManager from authenticator, ↵Christoph Enzmann2013-12-051-0/+34
UsedCodesManager refactoring