commit | 7e91ec3d58c264685aec864f81f70e891a8b3fc8 | [log] [tgz] |
---|---|---|
author | Avery Pennarun <apenwarr@gmail.com> | Wed Dec 05 22:44:02 2012 -0500 |
committer | Avery Pennarun <apenwarr@gmail.com> | Mon Dec 10 02:03:35 2012 -0500 |
tree | 001f403b363dd1117a7a5bd9f817376a16060e45 | |
parent | 658412c6c5aaaac82e859ccf6df056e09994f3e4 [diff] |
Pass an extra auth= arg to the data url if we have one. If we do, it'll be in localStorage[['auth', urlhost]]. You can set it by calling the /setauth URL, which happens to work as a GoogleAPI-oauth2-compatible callback (but can be used for any API you want as long as it provides the right query parameters).