SDK for 微信小程序

相关接口和 SDK for Web 版本相同:

SDK for Web

Github 地址:

NOTE! 在小程序中开发需要在小程序管理后台中配置域名,两个域名分别为:https://users.authing.cnhttps://oauth.authing.cn

下载代码

引入文件

然后将下载的代码内的 authing 文件夹移动到你的项目目录下,之后使用 require 引入

使用

注意,在使用小程序 SDK 时,可以不传入 email 和 password 参数,取而代之的是 unionid,就是从小程序获取的 openid 或 unionid。

Last updated

Was this helpful?