<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Dan, and welcome to the list!! &nbsp;<div><br></div><div>I'm curious about the question Bruno had about the .NET support and windows phone. &nbsp;Is that the target use-case for this? &nbsp;If so this is really cool, any chance of a little demo to try it out on?</div><div><br></div><div>Thanks again,&nbsp;</div><div>Jay</div><div><br></div><div><br></div><div><div>On Dec 17, 2012, at 8:52 AM, Daniel Manzke wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Yeah. Have a look at the pull request. ;)<div><br></div><div>I added a similar implementation, so one can choose which one to use. You can pass a ExactClock into the Totp and it will work.&nbsp;</div><div>I think nothing here is right or wrong. Depends on what someone expect. That's why the developer should choose the right clock. WDYT?</div>

<div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/17 Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

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 <a href="https://gist.github.com/250d78b8e19bc02319ee" target="_blank">https://gist.github.com/250d78b8e19bc02319ee</a>, might work.<br>


<div class="im HOEnZb"><br>
--<br>
"The measure of a man is what he does with power" - Plato<br>
-<br>
@abstractj<br>
-<br>
Volenti Nihil Difficile<br>
<br>
<br>
<br>
</div><div class="im HOEnZb">On Monday, December 17, 2012 at 11:21 AM, Daniel Manzke wrote:<br>
<br>
&gt; Clock c = new Clock();<br>
&gt; while(true){<br>
&gt; System.out.println(c.getCurrentInterval());<br>
&gt; Thread.sleep(1000);<br>
&gt; }<br>
<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Viele Grüße/Best Regards<br><br>Daniel Manzke<br>
</div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev<br></blockquote></div><br></body></html>