Yeah. Have a look at the pull request. ;)
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);
> }
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev