Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
chong
2016-01-25 21:29:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
48c63fc8e937f59616a970fa9bc1f3cb532f63d0
48c63fc8
1 parent
40022fd4
Updated 第三方登录 (markdown)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
第三方登录.md
第三方登录.md
View file @
48c63fc
...
...
@@ -4,18 +4,36 @@
第三方登录成功后需要上传第三方信息给服务器
在/after_bind接口提交时增加参数payload。payload的格式为json,其中包括从授权服务器获得的所有key-value内容。
###接口地址
```
/after_bind
```
###请求方式
```
POST 请求
```
###参数
```
open_id 必须
platform_name 必须
payload 必须
access_token 非必须
expires_in 非必须
```
```
json
payload
例子
payload内容是json需要使用base
64
进行编码
{
"access_token"
:
"access_token"
,
"refresh_token"
:
"refresh_token"
,
"expires_in"
:
"expires_in"
,
"refresh_token_expires"
:
"refresh_token_expires"
}
```
}
payload=base
64
(json)
```
参数为:
payload 参数为:
其中包括从授权服务器获得的所有key-value内容
| key | Android微信 | AndroidQQ | 是否必须 |
| --- | --- | --- | --- |
...
...
Please
register
or
login
to post a comment