MillerGs / gwt-oauth2

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

com.google.gwt.storage not found #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

when i run one example with this library i get the below error. i'm using GWT 
eclipse plugin 2.2.0 on linux

04:10:53.710 ERROR? goauth? Line 24: The import com.google.gwt.storage cannot 
be resolved

Original issue reported on code.google.com by othmanelmoulat on 31 May 2011 at 3:24

GoogleCodeExporter commented 9 years ago
Which version of GWT are you using? Support for localStorage (which is what 
this module adds) was introduced in GWT 2.3 I believe. If you're using an older 
version of GWT you'll need to upgrade to 2.3 (and later 2.4) to use this 
library.

Original comment by jasonhall@google.com on 31 May 2011 at 1:36

GoogleCodeExporter commented 9 years ago
thanks if i upgrade to gwt 2.3 the compiler error is gone. however i beleive
this library doesn't support twitter oauth right? how do you do twitter
authentication with your library?

thanks

-- 
E.othman
Freelance Software Developer
Linkedin: http://ma.linkedin.com/in/othmanelmoulat

WebRep
Overall rating

Original comment by othmanelmoulat on 31 May 2011 at 2:51

GoogleCodeExporter commented 9 years ago
That is correct, this library only facilitates OAuth *2.0* -- Twitter uses 
OAuth 1.0 for its authentication, so this library will not be useful for 
authenticating with Twitter.

For an example of authenticating using OAuth 1.0 with a GWT app, see this 
sample: http://code.google.com/p/gwt-examples/wiki/DemoGwtGData -- Note that 
this sample does OAuth using the server, and not solely in the client-side.

Original comment by jasonhall@google.com on 31 May 2011 at 3:54