roytrilok91 / gwt-oauth2

Automatically exported from code.google.com/p/gwt-oauth2
Apache License 2.0
0 stars 0 forks source link

clearAllTokens shouldn't nuke the local storage #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If your app calls:
        Auth.get().clearAllTokens();

This will call do a "clear" on the local storage.

If an application is using local storage, you will nuke all they have stored.  
It would be best if you would only delete the data in local storage that you 
have stored.

Original issue reported on code.google.com by rhodebump@gmail.com on 27 Jan 2012 at 3:36

GoogleCodeExporter commented 9 years ago
Good point. This could definitely be handled in a more isolated manner.

Original comment by jasonhall@google.com on 27 Jan 2012 at 2:29

GoogleCodeExporter commented 9 years ago
Fixed in r41

Original comment by jasonhall@google.com on 3 Apr 2012 at 1:32

GoogleCodeExporter commented 9 years ago
bad

Original comment by zeeborze...@gmail.com on 28 Oct 2012 at 6:29

GoogleCodeExporter commented 9 years ago
bad

Original comment by zeeborze...@gmail.com on 28 Oct 2012 at 6:30