[aerogear-dev] [OTP] Mobile-OTP / OTP for .NET

Bruno Oliveira bruno at abstractj.org
Mon Dec 17 08:49:54 EST 2012


Hmm gotcha, a Clock instance will be created on Totp class. We're not using a single instance of Clock to the whole implementation, just change the code for something like this https://gist.github.com/250d78b8e19bc02319ee, might work.

-- 
"The measure of a man is what he does with power" - Plato
-
@abstractj
-
Volenti Nihil Difficile



On Monday, December 17, 2012 at 11:21 AM, Daniel Manzke wrote:

> Clock c = new Clock();
> while(true){
> System.out.println(c.getCurrentInterval());
> Thread.sleep(1000);
> }





More information about the aerogear-dev mailing list