文件名称:OauthTest
介绍说明--下载内容来自于网络,使用问题请自行百度
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
在用户授权页面,实现:
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
OauthTest/.project
OauthTest/.settings/.svn/dir-wcprops
OauthTest/.settings/.svn/empty-file
OauthTest/.settings/.svn/entries
OauthTest/.settings/.svn/format
OauthTest/.settings/.svn/README.txt
OauthTest/.settings/.svn/text-base/org.eclipse.core.resources.prefs.svn-base
OauthTest/.settings/.svn/wcprops/org.eclipse.core.resources.prefs.svn-work
OauthTest/.settings/org.eclipse.core.resources.prefs
OauthTest/.svn/dir-wcprops
OauthTest/.svn/empty-file
OauthTest/.svn/entries
OauthTest/.svn/format
OauthTest/.svn/README.txt
OauthTest/.svn/text-base/.classpath.svn-base
OauthTest/.svn/text-base/.project.svn-base
OauthTest/.svn/text-base/AndroidManifest.xml.svn-base
OauthTest/.svn/text-base/default.properties.svn-base
OauthTest/.svn/text-base/proguard.cfg.svn-base
OauthTest/.svn/wcprops/.classpath.svn-work
OauthTest/.svn/wcprops/.project.svn-work
OauthTest/.svn/wcprops/AndroidManifest.xml.svn-work
OauthTest/.svn/wcprops/default.properties.svn-work
OauthTest/.svn/wcprops/proguard.cfg.svn-work
OauthTest/AndroidManifest.xml
OauthTest/assets/.svn/dir-wcprops
OauthTest/assets/.svn/empty-file
OauthTest/assets/.svn/entries
OauthTest/assets/.svn/format
OauthTest/assets/.svn/README.txt
OauthTest/bin/.svn/dir-wcprops
OauthTest/bin/.svn/empty-file
OauthTest/bin/.svn/entries
OauthTest/bin/.svn/format
OauthTest/bin/.svn/prop-base/classes.dex.svn-base
OauthTest/bin/.svn/prop-base/OauthTest.apk.svn-base
OauthTest/bin/.svn/prop-base/resources.ap_.svn-base
OauthTest/bin/.svn/props/classes.dex.svn-work
OauthTest/bin/.svn/props/OauthTest.apk.svn-work
OauthTest/bin/.svn/props/resources.ap_.svn-work
OauthTest/bin/.svn/README.txt
OauthTest/bin/.svn/text-base/classes.dex.svn-base
OauthTest/bin/.svn/text-base/OauthTest.apk.svn-base
OauthTest/bin/.svn/text-base/resources.ap_.svn-base
OauthTest/bin/.svn/wcprops/classes.dex.svn-work
OauthTest/bin/.svn/wcprops/OauthTest.apk.svn-work
OauthTest/bin/.svn/wcprops/resources.ap_.svn-work
OauthTest/bin/classes.dex
OauthTest/bin/com/oauthTest/activity/AuthorizationAct$WebViewC.class
OauthTest/bin/com/oauthTest/activity/AuthorizationAct.class
OauthTest/bin/com/oauthTest/activity/MainAct.class
OauthTest/bin/com/oauthTest/activity/ShowAccessTokenAct.class
OauthTest/bin/com/oauthTest/data/OAuth.class
OauthTest/bin/com/oauthTest/R$attr.class
OauthTest/bin/com/oauthTest/R$drawable.class
OauthTest/bin/com/oauthTest/R$id.class
OauthTest/bin/com/oauthTest/R$layout.class
OauthTest/bin/com/oauthTest/R$string.class
OauthTest/bin/com/oauthTest/R.class
OauthTest/bin/com/oauthTest/utils/Base64Encoder.class
OauthTest/bin/com/oauthTest/utils/ConfigUtil.class
OauthTest/bin/com/oauthTest/utils/HttpClientUtil.class
OauthTest/bin/OauthTest.apk
OauthTest/bin/resources.ap_
OauthTest/default.properties
OauthTest/gen/.svn/dir-wcprops
OauthTest/gen/.svn/empty-file
OauthTest/gen/.svn/entries
OauthTest/gen/.svn/format
OauthTest/gen/.svn/README.txt
OauthTest/gen/com/oauthTest/R.java
OauthTest/lib/.svn/dir-wcprops
OauthTest/lib/.svn/empty-file
OauthTest/lib/.svn/entries
OauthTest/lib/.svn/format
OauthTest/lib/.svn/prop-base/commons-io.jar.svn-base
OauthTest/lib/.svn/prop-base/commons-lang-2.3.jar.svn-base
OauthTest/lib/.svn/prop-base/commons-logging.jar.svn-base
OauthTest/lib/.svn/prop-base/log4j.jar.svn-base
OauthTest/lib/.svn/props/commons-io.jar.svn-work
OauthTest/lib/.svn/props/commons-lang-2.3.jar.svn-work
OauthTest/lib/.svn/props/commons-logging.jar.svn-work
OauthTest/lib/.svn/props/log4j.jar.svn-work
OauthTest/lib/.svn/README.txt
OauthTest/lib/.svn/text-base/commons-io.jar.svn-base
OauthTest/lib/.svn/text-base/commons-lang-2.3.jar.svn-base
OauthTest/lib/.svn/text-base/commons-logging.jar.svn-base
OauthTest/lib/.svn/text-base/log4j.jar.svn-base
OauthTest/lib/.svn/wcprops/commons-io.jar.svn-work
OauthTest/lib/.svn/wcprops/commons-lang-2.3.jar.svn-work
OauthTest/lib/.svn/wcprops/commons-logging.jar.svn-work
OauthTest/lib/.svn/wcprops/log4j.jar.svn-work
OauthTest/lib/commons-io.jar
OauthTest/lib/commons-lang-2.3.jar
OauthTest/lib/commons-logging.jar
OauthTest/lib/log4j.jar
OauthTest/proguard.cfg
OauthTest/res/.svn/dir-wcprops
OauthTest/res/.svn/empty-file
OauthTest/res/.svn/entries
OauthTest/res/.svn/format
OauthTest/res/.svn/README.txt
OauthTest/res/drawable-hdpi/.svn/dir-wcprops
OauthTest/res/drawable-hdpi/.svn/empty-file
OauthTest/res/drawable-hdpi/.svn/entries
OauthTest/res/drawable-hdpi/.svn/format
OauthTest/res/drawable-hdpi/.svn/prop-base/icon.png.svn-base
OauthTest/res/drawable-hdpi/.svn/props/icon.png.svn-work
OauthTest/res/drawable-hdpi/.svn/README.txt
OauthTest/res/drawable-hdpi/.svn/text-base/icon.png.svn-base
OauthTest/res/drawable-hdpi/.svn/wcprops/icon.png.svn-work
OauthTest/res/drawable-hdpi/icon.png
OauthTest/res/drawable-ldpi/.svn/dir-wcprops
OauthTest/res/drawable-ldpi/.svn/empty-file
OauthTest/res/drawable-ldpi/.svn/entries
OauthTest/res/drawable-ldpi/.svn/format
OauthTest/res/drawable-ldpi/.svn/prop-base/icon.png.svn-base
OauthTest/res/drawable-ldpi/.svn/props/icon.png.svn-work
OauthTest/res/drawable-ldpi/.svn/README.txt
OauthTest/res/drawable-ldpi/.svn/text-base/icon.png.svn-base
OauthTest/res/drawable-ld
OauthTest/.project
OauthTest/.settings/.svn/dir-wcprops
OauthTest/.settings/.svn/empty-file
OauthTest/.settings/.svn/entries
OauthTest/.settings/.svn/format
OauthTest/.settings/.svn/README.txt
OauthTest/.settings/.svn/text-base/org.eclipse.core.resources.prefs.svn-base
OauthTest/.settings/.svn/wcprops/org.eclipse.core.resources.prefs.svn-work
OauthTest/.settings/org.eclipse.core.resources.prefs
OauthTest/.svn/dir-wcprops
OauthTest/.svn/empty-file
OauthTest/.svn/entries
OauthTest/.svn/format
OauthTest/.svn/README.txt
OauthTest/.svn/text-base/.classpath.svn-base
OauthTest/.svn/text-base/.project.svn-base
OauthTest/.svn/text-base/AndroidManifest.xml.svn-base
OauthTest/.svn/text-base/default.properties.svn-base
OauthTest/.svn/text-base/proguard.cfg.svn-base
OauthTest/.svn/wcprops/.classpath.svn-work
OauthTest/.svn/wcprops/.project.svn-work
OauthTest/.svn/wcprops/AndroidManifest.xml.svn-work
OauthTest/.svn/wcprops/default.properties.svn-work
OauthTest/.svn/wcprops/proguard.cfg.svn-work
OauthTest/AndroidManifest.xml
OauthTest/assets/.svn/dir-wcprops
OauthTest/assets/.svn/empty-file
OauthTest/assets/.svn/entries
OauthTest/assets/.svn/format
OauthTest/assets/.svn/README.txt
OauthTest/bin/.svn/dir-wcprops
OauthTest/bin/.svn/empty-file
OauthTest/bin/.svn/entries
OauthTest/bin/.svn/format
OauthTest/bin/.svn/prop-base/classes.dex.svn-base
OauthTest/bin/.svn/prop-base/OauthTest.apk.svn-base
OauthTest/bin/.svn/prop-base/resources.ap_.svn-base
OauthTest/bin/.svn/props/classes.dex.svn-work
OauthTest/bin/.svn/props/OauthTest.apk.svn-work
OauthTest/bin/.svn/props/resources.ap_.svn-work
OauthTest/bin/.svn/README.txt
OauthTest/bin/.svn/text-base/classes.dex.svn-base
OauthTest/bin/.svn/text-base/OauthTest.apk.svn-base
OauthTest/bin/.svn/text-base/resources.ap_.svn-base
OauthTest/bin/.svn/wcprops/classes.dex.svn-work
OauthTest/bin/.svn/wcprops/OauthTest.apk.svn-work
OauthTest/bin/.svn/wcprops/resources.ap_.svn-work
OauthTest/bin/classes.dex
OauthTest/bin/com/oauthTest/activity/AuthorizationAct$WebViewC.class
OauthTest/bin/com/oauthTest/activity/AuthorizationAct.class
OauthTest/bin/com/oauthTest/activity/MainAct.class
OauthTest/bin/com/oauthTest/activity/ShowAccessTokenAct.class
OauthTest/bin/com/oauthTest/data/OAuth.class
OauthTest/bin/com/oauthTest/R$attr.class
OauthTest/bin/com/oauthTest/R$drawable.class
OauthTest/bin/com/oauthTest/R$id.class
OauthTest/bin/com/oauthTest/R$layout.class
OauthTest/bin/com/oauthTest/R$string.class
OauthTest/bin/com/oauthTest/R.class
OauthTest/bin/com/oauthTest/utils/Base64Encoder.class
OauthTest/bin/com/oauthTest/utils/ConfigUtil.class
OauthTest/bin/com/oauthTest/utils/HttpClientUtil.class
OauthTest/bin/OauthTest.apk
OauthTest/bin/resources.ap_
OauthTest/default.properties
OauthTest/gen/.svn/dir-wcprops
OauthTest/gen/.svn/empty-file
OauthTest/gen/.svn/entries
OauthTest/gen/.svn/format
OauthTest/gen/.svn/README.txt
OauthTest/gen/com/oauthTest/R.java
OauthTest/lib/.svn/dir-wcprops
OauthTest/lib/.svn/empty-file
OauthTest/lib/.svn/entries
OauthTest/lib/.svn/format
OauthTest/lib/.svn/prop-base/commons-io.jar.svn-base
OauthTest/lib/.svn/prop-base/commons-lang-2.3.jar.svn-base
OauthTest/lib/.svn/prop-base/commons-logging.jar.svn-base
OauthTest/lib/.svn/prop-base/log4j.jar.svn-base
OauthTest/lib/.svn/props/commons-io.jar.svn-work
OauthTest/lib/.svn/props/commons-lang-2.3.jar.svn-work
OauthTest/lib/.svn/props/commons-logging.jar.svn-work
OauthTest/lib/.svn/props/log4j.jar.svn-work
OauthTest/lib/.svn/README.txt
OauthTest/lib/.svn/text-base/commons-io.jar.svn-base
OauthTest/lib/.svn/text-base/commons-lang-2.3.jar.svn-base
OauthTest/lib/.svn/text-base/commons-logging.jar.svn-base
OauthTest/lib/.svn/text-base/log4j.jar.svn-base
OauthTest/lib/.svn/wcprops/commons-io.jar.svn-work
OauthTest/lib/.svn/wcprops/commons-lang-2.3.jar.svn-work
OauthTest/lib/.svn/wcprops/commons-logging.jar.svn-work
OauthTest/lib/.svn/wcprops/log4j.jar.svn-work
OauthTest/lib/commons-io.jar
OauthTest/lib/commons-lang-2.3.jar
OauthTest/lib/commons-logging.jar
OauthTest/lib/log4j.jar
OauthTest/proguard.cfg
OauthTest/res/.svn/dir-wcprops
OauthTest/res/.svn/empty-file
OauthTest/res/.svn/entries
OauthTest/res/.svn/format
OauthTest/res/.svn/README.txt
OauthTest/res/drawable-hdpi/.svn/dir-wcprops
OauthTest/res/drawable-hdpi/.svn/empty-file
OauthTest/res/drawable-hdpi/.svn/entries
OauthTest/res/drawable-hdpi/.svn/format
OauthTest/res/drawable-hdpi/.svn/prop-base/icon.png.svn-base
OauthTest/res/drawable-hdpi/.svn/props/icon.png.svn-work
OauthTest/res/drawable-hdpi/.svn/README.txt
OauthTest/res/drawable-hdpi/.svn/text-base/icon.png.svn-base
OauthTest/res/drawable-hdpi/.svn/wcprops/icon.png.svn-work
OauthTest/res/drawable-hdpi/icon.png
OauthTest/res/drawable-ldpi/.svn/dir-wcprops
OauthTest/res/drawable-ldpi/.svn/empty-file
OauthTest/res/drawable-ldpi/.svn/entries
OauthTest/res/drawable-ldpi/.svn/format
OauthTest/res/drawable-ldpi/.svn/prop-base/icon.png.svn-base
OauthTest/res/drawable-ldpi/.svn/props/icon.png.svn-work
OauthTest/res/drawable-ldpi/.svn/README.txt
OauthTest/res/drawable-ldpi/.svn/text-base/icon.png.svn-base
OauthTest/res/drawable-ld
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.