chong

Updated 第三方登录 (markdown)

@@ -5,8 +5,13 @@ @@ -5,8 +5,13 @@
5 第三方登录成功后需要上传第三方信息给服务器 5 第三方登录成功后需要上传第三方信息给服务器
6 6
7 在/after_bind接口提交时增加参数payload。payload的格式为json,其中包括从授权服务器获得的所有key-value内容。 7 在/after_bind接口提交时增加参数payload。payload的格式为json,其中包括从授权服务器获得的所有key-value内容。
8 -``` 8 +```json
9 -{access_token:"access_token",refresh_token:"refresh_token",expires_in:"expires_in",refresh_token_expires:"refresh_token_expires"} 9 +{
  10 + "access_token":"access_token",
  11 + "refresh_token":"refresh_token",
  12 + "expires_in":"expires_in",
  13 + "refresh_token_expires":"refresh_token_expires"
  14 +}
10 ``` 15 ```
11 payload=base64(json) 16 payload=base64(json)
12 17