OAuth Methods
The OAuth type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
AccessToken |
Step1.获得Token
|
|
|
FastGetUserInfo(String) |
快速获得用户基本信息
|
|
|
FastGetUserInfo(HttpRequest) |
快速获得用户基本信息
|
|
|
FastGetUserInfo(HttpRequestBase) |
快速获得用户基本信息
|
|
|
FastGetUserInfo<(Of <<'(T>)>>)(String) |
快速获得用户信息,并填充自定义的用户信息类
需要特定权限(代码:O)才能使用 |
|
|
GenerateOAuthUrl |
生成OAuth链接
页面需要跳转至OAuth链接,请用前端javascript方法跳转,建议后台使用CivetHelper.JsRedirect方法生成javascript代码。 |
|
|
GetFaceInfo |
Step4.獲得人臉驗證信息
|
|
|
GetFriendsList |
获取好友openid列表
|
|
|
GetPostionFaceInfo |
Step3~4.获得用户位置以及人臉驗證信息
|
|
|
GetPostionInfo |
Step3.获得用户位置信息
|
|
|
GetUserInfo |
Step2.获得用户信息
|