AuthSub Adds Support for ActionScript

Google launched “AuthSub for ActionScript,” that enables Flash and Silverlight applications to access data securely on behalf of a user, without the application ever seeing the user’s private login credentials. To use AuthSub for Actionscript (AuthSubAS), first ensure that the API you’re accessing offers cross-domain support. To do this, simply check for a crossdomain.xml file […]

Google launched “AuthSub for ActionScript,” that enables Flash and Silverlight applications to access data securely on behalf of a user, without the application ever seeing the user’s private login credentials. To use AuthSub for Actionscript (AuthSubAS), first ensure that the API you’re accessing offers cross-domain support. To do this, simply check for a crossdomain.xml file like those offered by Picasa Web Albums Data API and YouTube Data API. Then, if the API supports cross-domain scripting, you can simply point your Flash app to https://accounts.googleapis.com/accounts/AuthSub{Request,SessionToken} and authenticate. If you’re familiar with how AuthSub for JavaScript works, AuthSubAS works in much the same way. For more information, see AuthSub for ActionScript guide and check out code sample.