Mirror site is read only www.netnr.com
netnr 2018-07-11 11:48:45 2020-06-08 07:57:32 👁3K 💬1

项目地址:https://github.com/netnr/Netnr.Login https://github.com/netnr/np

接入地址:http://console.open.taobao.com/

帮助文档:https://open.taobao.com/doc.htm?docId=102635&docType=1

步骤

  1. authorize 接口:https://oauth.taobao.com/authorize
    获取用户授权,即页面跳转Taobao登录界面,GET请求,得到code

  2. access_token 接口:https://oauth.taobao.com/token
    根据code得到open_uidaccess_tokenPOST请求,open_uid为唯一票据,access_token可以根据其他API查询用户信息

使用

Install-Package Netnr.Login

参考项目地址给出的示例代码

第 1 页1 个回复
头像
2020-08-27 15:41:57 #1
Block


链接