OAuth Members

The OAuth type exposes the following members.

Constructors


  Name Description
Public method OAuth
OAuth协议封装

Methods


  Name Description
Public method AccessToken
Step1.获得Token
Public method FastGetUserInfo(String)
快速获得用户基本信息
Public method FastGetUserInfo(HttpRequest)
快速获得用户基本信息
Public method FastGetUserInfo(HttpRequestBase)
快速获得用户基本信息
Public method FastGetUserInfo<(Of <<'(T>)>>)(String)
快速获得用户信息,并填充自定义的用户信息类

需要特定权限(代码:O)才能使用

Public method GenerateOAuthUrl
生成OAuth链接

页面需要跳转至OAuth链接,请用前端javascript方法跳转,建议后台使用CivetHelper.JsRedirect方法生成javascript代码。

Public method GetFaceInfo
Step4.獲得人臉驗證信息
Public method GetFriendsList
获取好友openid列表
Public method GetPostionFaceInfo
Step3~4.获得用户位置以及人臉驗證信息
Public method GetPostionInfo
Step3.获得用户位置信息
Public method GetUserInfo
Step2.获得用户信息

Fields


  Name Description
Public field url
用户接口根路径