I'm interested in writing some Dart code to talk to web APIs which use OAuth 2.0 for authentication.
The protocol for performing the OAuth 2.0 dance in a client-side environment is described here:
I've written a GWT client library for this ( http://code.google.com/p/gwt-oauth2/
) based on a pure JS implementation, but both rely on pretty deep JS code and (ab)using global variables a bit, which I believe means that my implementation won't be able to be as easily ported to Dart as I'd hoped.
Is there already a client library for OAuth 2.0's client-side flow written in Dart? Has anybody investigated this?