[keycloak-dev] added idle processing among other things...

Stian Thorgersen stian at redhat.com
Tue Aug 13 06:20:06 EDT 2013


Nice. Ideally this should be wrapped as an Angular directive as you shouldn't be manipulating the DOM directly when using Angular.

You basically wrap the script code you have in an Angular directive then add it to the page with:

<div data-idle-timeout data-idle-after="300" data-polling-interval="60">

----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: keycloak-dev at lists.jboss.org
> Sent: Thursday, 8 August, 2013 2:58:14 AM
> Subject: [keycloak-dev] added idle processing among other things...
> 
> I added a nice jquery session timeout.  You can configure it to ping a
> url at various intervals to refresh things like the session cookie.  It
> has a nice slide down warning bar with a counting timer to warn you that
> you'll be logged out.  I still have a bit to do to clean it up to make
> it fully functional, but you can see what it looks like.
> 
> I've also started the application creation pages.  I'll have a lot more
> done by the end of the week.  Angular/javascript is getting more familiar.
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 


More information about the keycloak-dev mailing list