: All the application packages we can test are in this directory.
C: \ Documents ents and Settings \ Administrator> ADB Shell
# Ls data/Data
Ls data/Data
Com. Google. Android. btrouter
Com. Android. providers. Telephony
Com. Android. MMS
Com. Android. providers. downloads
Com. Android. Alibaba clock
Com. Android. Email
Com. Android. providers. Media
Com. Android.
QQ Internet: http://wiki.connect.qq.com/Open platform: https://open.weixin.qq.com/Weibo open platform: http://open.weibo.com/authentication/Sina Weibo platform cooperation login steps:
Place Weibo icons
Set up an authorization link on the interface: Https://api.weibo.com/oauth2/authorize?client_ Id=4087672060redirect_uri=http://www.putaoyun.com/wechatexe/getbackresponse_type=code
3. After the user clicks the authorization
{"Request": "/oauth2/access_token", "Error_code": 10021, "error": "HTTP METHOD is not suported for this request!"}, What exactly is the post to submit?
Is Sina's OAuth2 authorization, code I have obtained, this question has been troubled me for a long time ...
Reply to discussion (solution)
Post mode
Is your value is wrong, the/oauth2/access_token of your
can refresh the webpage to authorize access_token to avoid expiration.
Use the access_token and openid authorized on the webpage to obtain basic user information.
Directory [hide]
1 Step 1: The user agrees to the authorization and obtains the code
2 Step 2: Exchange code for webpage authorization access_token
3 Step 3: refresh access_token (if needed)
4. Step 4: Pull user information (the scope must be snsapi_userinfo)
5 Appendix: Chec
redirect to the Google page for logon. The Code is as follows:
Public class oauthcontroller: controller {public actionresult googlelogin () {var url = "https://accounts.google.com/o/oauth2/auth? "+" Scope = {0} State = {1} redirect_uri = {2} response_type = Code client_id = {3} approval_prompt = force "; // userinfo. email indicates obtaining the user's email var scope = httputility. urlencode ("https://www.googleapis.com/auth/userinfo.email");
guided to open the following page:
Https://open.weixin.qq.com/connect/oauth2/authorize? Appid = APPID redirect_uri = REDIRECT_URI response_type = code scope = SCOPE state = STATE # wechat_redirect, whether the permission of the scope parameter is granted.
Reference Link (please open this link on the client) Scope is snsapi_baseHttps://open.weixin.qq.com/connect/oauth2/authorize? Appid = wx520c15f415810
(Application. class , args);} }3.3 Main projects Spring Cloud ConfigCentralized external configuration management supported by the GIT repository. The configuration resource is mapped directly to Spring ' environment ', but can be used by non-spring applications if needed.Spring Cloud NetflixIntegrates with various Netflix OSS components (Eureka,hystrix,zuul,archaius, etc.).Spring Cloud BusAn event bus used to link services and service instances with distributed messages. Used to propagate s
This article is 4th of the five articles in this series. It covers how to assemble and Connect service providers created in "Part 1 service implementation" and design their interactions, provide a complete solution for business needs. The most fruitful merging element will be a service participant who is responsible for combining the services provided by the invoicer, productions, and shipper merging elements to provide service capabilities for proces
, jsr168 ). the Oracle PDK Java Portlet wizard allows you to build portlets Based on the PDK APIs. both wizards guide you through the steps of creating the Portlet skeleton and all you need to do then is to implement your business logic.Portal Integration kit (point) portlets
Portal Integration (point) offers portlets that allow Oracle portal users to integrate popular applications with their portal. source code is provided with the point portlets to allow developers to enhance the portlets 'fun
, we will get the following OA2 URL:
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx32259fc5d5aac13dredirect_uri=http%3A%2F% 2fwww.demo.com%2fwp%2fkenresponse_type=codescope=snsapi_userinfostate=state#wechat_redirects
Then we are in the service number of the menu mentioned just now, link good click to go to the micro-trust in the browser, if your scope is Snsapi_userinfo will eject the licensing interface, base will not play the default
to your own! Access Authorization page:
Package com;
Import Java.io.BufferedReader;
Import Java.io.InputStreamReader;
Import Java.io.OutputStreamWriter;
Import Java.net.URL;
Import java.net.URLConnection;
Import java.security.cert.CertificateException;
Import Java.security.cert.X509Certificate;
Import Java.util.Scanner;
Import Javax.net.ssl.X509TrustManager; /** * @author Liu Xianhan * Do not use any SDK to implement Sina Weibo OAuth authorization and realize a small demo * Date: Novembe
First, I confirm that my public account is the Authenticated Service number, and I have set a domain name with the same public account as the currently accessed domain name, in addition, authorization is performed in a prompt box (to obtain user information) rather than silent authorization. My Development Process: 1. Call the interface open. weix... first, I confirm that my public account is the Authenticated Service number, and I have set a domain name with the same public account as the curre
miniature PHP REPL
pecan-an event-driven and non-blocking kernel
getopt-a command line selection parser
optparse-Another command line select parser
commando-another simple command-line selection parser
getoptionkit-Another command line select parser
Cron Expression-calculates the cron run date Library
shellwrap-a simple command-line wrapper library
Hoa console-Another command-line library
Shunt-a library that runs command lines in parallel on multiple remote
These days have been engaged in OAuth2.0 things, write SDK what, in order to more in-depth understanding of the service side of the OAuth authentication mechanism, I built a PHP under the OAuth environment, and transplanted it into their own relatively familiar TP framework.Don't say much nonsense, start.In fact, there are OAuth2.0 PHP version of the Internet.You can find the source code in http://code.google.com/p/oauth2-php/, which implements the da
I used to introduce the redirection operation in the menu in "C # development portal and application (11) -- Introduction to multiple menu representations" in a series of articles. Through this redirection operation, we can get a code value, and then get the user's openID, and then we can get more user information, which is used in many member information scenarios, this article describes how to quickly configure such menu links on the website, and how to obtain relevant user information in the
IOS _ Weibo OAuth authorization _ getting user authorization accessToken
Finally:
OauthViewController. m
//// OauthViewController. m // 20 _ handsome guy no Weibo /// Created by beyond on 14-8-5. // Copyright (c) 2014 com. beyond. all rights reserved. // authorization controller, run only once. After obtaining the access_token and uid of the current user, archive and switch the main controller of the window # import OauthViewController. h @ interface OauthViewController ()
{// Member va
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.