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

Jay Balunas jbalunas at redhat.com
Mon Dec 17 17:33:48 EST 2012


Hi Dan, and welcome to the list!!  

I'm curious about the question Bruno had about the .NET support and windows phone.  Is that the target use-case for this?  If so this is really cool, any chance of a little demo to try it out on?

Thanks again, 
Jay


On Dec 17, 2012, at 8:52 AM, Daniel Manzke wrote:

> Yeah. Have a look at the pull request. ;)
> 
> 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. 
> I think nothing here is right or wrong. Depends on what someone expect. That's why the developer should choose the right clock. WDYT?
> 
> 
> 2012/12/17 Bruno Oliveira <bruno at abstractj.org>
> 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> 
> 
> 
> -- 
> Viele Grüße/Best Regards
> 
> Daniel Manzke
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20121217/94de487b/attachment.html 


More information about the aerogear-dev mailing list