文件名称:OauthTest

  • 所属分类:
  • android开发
  • 资源属性:
  • [Android] [Java] [源码]
  • 上传时间:
  • 2014-04-12
  • 文件大小:
  • 2.55mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • rpu****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

Android版新浪、网易、腾讯、搜狐微博OAuth认证实例集,想更多了解OAuth认证的朋友,请下载java源码包,在示例中完整解析了OAuth认证的过程:定义URL编码方式,请求url,得到注册应用后服务商提供的key和secret,生成32个字符长度且每次都不同的随机字符串,设置Oauth协议版本,请求签名等操作。

  在用户授权页面,实现:

  1.初始化OAuth对象

  2.获取用户授权页面并填充至webView

  3.根据载入的url判断匹配规则的结果执行跳转

  在登录选择界面实现根据不同的按钮点击初始化数据。

  在展示AccessToken源代码中,实现:

  1. 获取授权后成功后回调的URL并匹配出验证码(网易无验证码不处理)

  2.获取OAuth对象并设置验证码

  3.获取accessToken -Android version of Sina, Netease, Tencent, Sohu Weibo OAuth authentication instance set and want to learn more about OAuth authentication friend, please download java source package, in the example of the complete analytical OAuth authentication process: Define URL encoding, request url, key and secret obtained after registration application service providers to generate 32 characters in length, and each time a different random strings, set Oauth protocol version, request signatures and other operations. User authorization page to achieve: 1 2 get user object initialization OAuth authorization page and fill to webView 3 url judgment based on the results of the implementation of matching rules loaded selection interface to achieve a jump in the login button click, depending on initial data. In the show AccessToken source code, to achieve: 1 After obtaining authorization after the success callback URL and match verification code (Netease no verification code does not handle) 2 get OAuth
(系统自动生成,下载前可以参看下载内容)

下载文件列表





OauthTest\.classpath

.........\.project

.........\.settings\.svn\dir-wcprops

.........\.........\....\empty-file

.........\.........\....\entries

.........\.........\....\format

.........\.........\....\README.txt

.........\.........\....\text-base\org.eclipse.core.resources.prefs.svn-base

.........\.........\....\wcprops\org.eclipse.core.resources.prefs.svn-work

.........\.........\org.eclipse.core.resources.prefs

.........\..vn\dir-wcprops

.........\....\empty-file

.........\....\entries

.........\....\format

.........\....\README.txt

.........\....\text-base\.classpath.svn-base

.........\....\.........\.project.svn-base

.........\....\.........\AndroidManifest.xml.svn-base

.........\....\.........\default.properties.svn-base

.........\....\.........\proguard.cfg.svn-base

.........\....\wcprops\.classpath.svn-work

.........\....\.......\.project.svn-work

.........\....\.......\AndroidManifest.xml.svn-work

.........\....\.......\default.properties.svn-work

.........\....\.......\proguard.cfg.svn-work

.........\AndroidManifest.xml

.........\assets\.svn\dir-wcprops

.........\......\....\empty-file

.........\......\....\entries

.........\......\....\format

.........\......\....\README.txt

.........\bin\.svn\dir-wcprops

.........\...\....\empty-file

.........\...\....\entries

.........\...\....\format

.........\...\....\prop-base\classes.dex.svn-base

.........\...\....\.........\OauthTest.apk.svn-base

.........\...\....\.........\resources.ap_.svn-base

.........\...\....\....s\classes.dex.svn-work

.........\...\....\.....\OauthTest.apk.svn-work

.........\...\....\.....\resources.ap_.svn-work

.........\...\....\README.txt

.........\...\....\text-base\classes.dex.svn-base

.........\...\....\.........\OauthTest.apk.svn-base

.........\...\....\.........\resources.ap_.svn-base

.........\...\....\wcprops\classes.dex.svn-work

.........\...\....\.......\OauthTest.apk.svn-work

.........\...\....\.......\resources.ap_.svn-work

.........\...\classes.dex

.........\...\.om\oauthTest\activity\AuthorizationAct$WebViewC.class

.........\...\...\.........\........\AuthorizationAct.class

.........\...\...\.........\........\MainAct.class

.........\...\...\.........\........\ShowAccessTokenAct.class

.........\...\...\.........\data\OAuth.class

.........\...\...\.........\R$attr.class

.........\...\...\.........\R$drawable.class

.........\...\...\.........\R$id.class

.........\...\...\.........\R$layout.class

.........\...\...\.........\R$string.class

.........\...\...\.........\R.class

.........\...\...\.........\utils\Base64Encoder.class

.........\...\...\.........\.....\ConfigUtil.class

.........\...\...\.........\.....\HttpClientUtil.class

.........\...\OauthTest.apk

.........\...\resources.ap_

.........\default.properties

.........\gen\.svn\dir-wcprops

.........\...\....\empty-file

.........\...\....\entries

.........\...\....\format

.........\...\....\README.txt

.........\...\com\oauthTest\R.java

.........\lib\.svn\dir-wcprops

.........\...\....\empty-file

.........\...\....\entries

.........\...\....\format

.........\...\....\prop-base\commons-io.jar.svn-base

.........\...\....\.........\commons-lang-2.3.jar.svn-base

.........\...\....\.........\commons-logging.jar.svn-base

.........\...\....\.........\log4j.jar.svn-base

.........\...\....\....s\commons-io.jar.svn-work

.........\...\....\.....\commons-lang-2.3.jar.svn-work

.........\...\....\.....\commons-logging.jar.svn-work

.........\...\....\.....\log4j.jar.svn-work

.........\...\....\README.txt

.........\...\....\text-base\commons-io.jar.svn-base

.........\...\....\.........\commons-lang-2.3.jar.svn-base

.........\...\....\.........\commons-logging.jar.svn-base

.........\...\....\.........\log4j.jar.svn-base

.........\...\....\wcprops\commons-io.jar.svn-work

.........\...\....\.......\commons-lang-2.3.jar.svn-work

.........\...\....\.......\commons-logging.jar.svn-work

.........\...\....\.......\log4j.jar.svn-work

.........\...\commons-io.jar

.........\...\commons-lang-2.3.jar

.........\...\commons-logging.jar

.........\...\log4j.jar

.........\proguard.cfg

.........\res\.svn\dir-

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org