Can I use oauth 2.0 with flex?

こ雲淡風輕ζ 提交于 2020-01-05 08:31:10

问题


I want my flex mobile app to connect to the Google services, specifically the new Google Drive, to upload and download files. Is this possible using AS3 and Flash Builder? I believe oauth 2.0 is required for authenication. Can this be done with Action Script? I've looked around and only found oauth v1 libraries. Also, are there any APIs working with Google Drive that works with Flash Builder?

Thanks


回答1:


I don't know if you are still interested with the Google Drive API, but i've just released a (REALLY) beta version of that. You can check here: http://code.google.com/p/google-drive-as3-api-client/ . See the example in Wiki section and refer to the full example (for Flex) that you can find here: http://code.google.com/p/google-drive-as3-api-client/source/browse/trunk/src/AS3GoogleDriveAPI.mxml

Bye




回答2:


yes

Actionscript 3 library for oAuth client implementations, for use in Flash, Flex and AIR.

http://code.google.com/p/oauth-as3/



来源:https://stackoverflow.com/questions/10357797/can-i-use-oauth-2-0-with-flex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!