aseps3472 / gdata-javascript-client

Automatically exported from code.google.com/p/gdata-javascript-client
0 stars 0 forks source link

Add support for setting AuthSub token #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In some case apps will want to make use of both the JavaScript and Java
libraries, with the Java library on the server and the JavaScript library
on the client.

Currently there's no way to set the token on the JavaScript library. Is it
possible to add something like the following:
google.accounts.user.setAuthsubToken(string token, string[] scopes)

This way an application can reuse a server-side token on the client,
without having the user go through both AuthSub and AuthSubJS.

Original issue reported on code.google.com by bobbysoa...@gmail.com on 19 Feb 2010 at 6:52