feat: uni-id-users 增加三方平台身份信息字段(identities)

This commit is contained in:
chenruilong 2023-02-10 14:48:54 +08:00
parent f0b21acd2f
commit 181561be1a
2 changed files with 9 additions and 1 deletions

View File

@ -441,6 +441,14 @@
"my_invite_code": {
"bsonType": "string",
"description": "用户自身邀请码"
},
"identities": {
"bsonType": "array",
"description": "三方平台身份信息;一个对象代表一个身份,参数支持: provider 身份源, userInfo 三方用户信息, openid 三方openid, unionid 三方unionid, uid 三方uid",
"permission": {
"read": "'READ_UNI_ID_USERS' in auth.permission",
"write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission"
}
}
}
},

View File

@ -1,6 +1,6 @@
{
"name": "@opendb/uni-id-users",
"version": "1.0.2",
"version": "1.0.3",
"description": "uni-id-users",
"keywords": ["uni-id", "用户管理", "登录", "注册"],
"opendb": {