本文为您介绍CIAM 账户鉴权相关接口。
1. 令牌有效性检验
接口说明:
调用上述检测接口时,请务必携带对应类型的token。
接口地址:
Request URI: GET
/api/bff/v1.2/developer/ciam/user/token/check
请求参数:
返回参数:
Token有效返回参数:
参数名 | 类型 | 示例 | 内容说明 |
success | boolean | true | 请求成功 |
code | int | 200 | 事件结果代码 |
message | string | null | 事件信息 |
requestId | string | 8D5CDDCF-C77A-4A0A-A8A6-16314E57847F | 事件唯一ID |
data | string | null | 日志 |
Token失效返回参数:
参数名 | 类型 | 示例 | 内容说明 |
error | string | invalid_token | 无效 |
error_description | int | Invalid access token: eyJhbGciOiJIU ... ... WJferRYl0 | token无效 |
2. 账户安全
2.1. 操作检查
该接口会返回 fId 以及是否需要二次认证等流程
接口地址
Request URI: GET
/api/bff/v1.2/developer/ciam/user/operate_check
请求参数
operateType=UPDATE_PASSWORD
参数名 | 类型 | 必须 | 内容说明 |
operateType | string | 是 | URL 传递,目前仅支持:
|
返回参数
需要二次认证
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655084314822$73399b3e-0239-0de0-6ac9-bf764400b851",
"data": {
"fId": "202206130938354797885760663934976_Y_03",
"flowType": "NEED_TWO_FACTOR",
"additional": null
}
}
不需要二次认证
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655953376073$483cd2c7-eb28-e8b0-63f2-aefbaf5d55fc",
"data": {
"fId": "202206231102561313385674235612160_Y_3",
"flowType": "USER_UPDATE_PWD",
"additional": null
}
}
参数名 | 类型 | 必须 | 内容说明 |
flowType | string | 是 | 下一步流程的标识,参考:
|
2.2. 二次认证-发送验证码
仅用于手机号、邮箱验证码的二次认证
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/2fa/obtain_code
Content-Type: application/json
请求参数
{
"fId":"{{fId}}",
"type":"SMS",
"captchaCode":"",
"captchaText":""
}
参数名 | 类型 | 必须 | 内容说明 |
fId | string | 是 | 上一步流程的 fId |
type | string | 是 | 二次认证的方式,(目前)可选值:SMS、EMAIL,根据选择的二次认证传值 |
language | string | 否 | 发送验证码的语言类型,默认取首选语言 |
engineCode | string | 否 | 发送验证码的网关编码,默认取首选服务商的首选网关 |
captchaCode | string | 否 | 图形验证码的 code,由获取验证码的接口返回,当存在图形验证码时必传 |
captchaText | string | 否 | 用户输入的图形验证码,当存在图形验证码时必传 |
返回参数
不支持的二次认证方式
{
"success": false,
"code": "Params.Illegal",
"message": "Operation.Failure.Unsupport.2fa.Type",
"requestId": "1654681888509$40033cb3-9d4f-4a52-e3a3-447c52c80fb1",
"data": null
}
正常
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655084624228$e190452c-b475-829f-eea3-e9ac46e37db0",
"data": {
"fId": "20220613094341108226886868558848_Y_03"
}
}
2.3. 二次认证-验证码
仅用于手机号、邮箱验证码的二次认证
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/2fa/verify_code
Content-Type: application/json
请求参数
{
"code":"000000",
"type":"SMS",
"fId":"{{fId}}"
}
参数名 | 类型 | 必须 | 内容说明 |
fId | string | 是 | 上一步流程的 fId |
type | string | 是 | 二次认证的方式,(目前)可选值:SMS、EMAIL、PWD,根据选择的二次认证传值 |
code | string | 是 | 手机或者邮箱的验证码 |
返回参数
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655953475289$f2bd04aa-5190-e998-4d3d-d1faaa2e60a4",
"data": {
"fId": "202206231104298465085851146237952_Y_03",
"flowType": "USER_UPDATE_PWD",
"additional": null
}
}
2.4. 二次认证-验证密码
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/2fa/verify_code
Content-Type: application/json
请求参数
{
"password":"966966",
"type":"PWD",
"fId":"{{fId}}"
}
参数名 | 类型 | 必须 | 内容说明 |
fId | string | 是 | 上一步流程的 fId |
type | string | 是 | 二次认证的方式,固定为 PWD |
password | string | 是 | 用户输入的密码 |
返回参数
二次认证失败
{
"success": false,
"code": "Operation.Failure",
"message": "Operation.Failure.User.Password.Error",
"requestId": "1654747792211$750c5b3e-5dd2-efa1-60a5-1acc88ca1f85",
"data": null
}
二次认证方式无效
{
"success": false,
"code": "Operation.Failure",
"message": "Operation.Failure.Unsupported.2fa.Type",
"requestId": "1655084909746$eb81b1c8-51a6-a7e6-3293-6adb78a786b3",
"data": null
}
二次认证成功
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655953475289$f2bd04aa-5190-e998-4d3d-d1faaa2e60a4",
"data": {
"fId": "202206231104298465085851146237952_Y_03",
"flowType": "USER_UPDATE_PWD",
"additional": null
}
}
2.5. 修改密码
接口地址
Request URI: PUT
/api/bff/v1.2/developer/ciam/user/change_pwd
Content-Type: application/json
请求参数
{
"newPassword":"966966",
"fId": "{{fId}}"
}
参数名 | 类型 | 必须 | 内容说明 |
fId | string | 是 | 上一步流程的 fId,前置流程为 2.1 操作检查 |
newPassword | string | 是 | 用户输入的新密码 |
返回参数
修改失败-和旧密码一致
{
"success": false,
"code": "Operation.Failure",
"message": "Params.Illegal.User.Password.Same.Old",
"requestId": "1655085873136$dd1d23dc-5e2f-395e-311a-a375a2799e77",
"data": null
}
修改成功(修改成功data没值)
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655085926945$3ac20c22-f35e-5582-3032-39928132f865",
"data": null
}
2.6. 修改手机/邮箱-发送验证码
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/change_phone_or_email/obtain_code
Content-Type: application/json
请求参数
{
"fId": "{{fId}}",
"type":"EMAIL",
"email":"123**@13.com",
"phoneNumber":"",
"phoneRegion":""
}
参数名 | 类型 | 必须 | 内容说明 |
fId | string | 是 | 上一步流程的 fId,前置流程为 2.1 操作检查 |
type | string | 是 | 验证码类型,对应修改的字段类型,可选值:EMAIL(邮箱)和 SMS(手机号) |
string | 否 | 当 type=EMAIL 时必填 | |
phoneNumber | string | 否 | 当 type=SMS 时必填 |
phoneRegion | string | 否 | 当 type=SMS 时可选 |
language | string | 否 | 发送验证码的语言类型,默认取首选语言 |
engineCode | string | 否 | 发送验证码的网关编码,默认取首选服务商的首选网关 |
返回参数
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655104132238$032d8302-306c-04c3-d301-f89db1a5c993",
"data": {
"fId": "202206131508431202892259157892096_Y_03"
}
}
2.7. 修改手机/邮箱-验证码
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/change_phone_or_email/verify_code
Content-Type: application/json
请求参数
{
"fId":"{{fId}}",
"type":"EMAIL",
"code":"000000"
}
参数名 | 类型 | 必须 | 内容说明 |
fId | string | 是 | 上一步流程的 fId |
type | string | 是 | 验证码类型,对应修改的字段类型,可选值:EMAIL(邮箱)和 SMS(手机号) |
code | string | 否 | 手机号或邮箱的验证码,用户输入 |
返回参数
修改成功data没值
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655104186558$e44d6012-cd7d-e6b0-3522-8d14be15ad8c",
"data": null
}
2.8. 查询社交账号绑定信息
接口地址
Request URI: GET
/api/bff/v1.2/developer/ciam/user/social_bind_info
请求参数
无
返回参数
修改成功data没值
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655282559705$578f2109-bd6c-1836-96c0-31ba3c42a6b6",
"data": [
{
"name": "微信登录",
"enterpriseAuthId": "ciammasterwechat",
"logo": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAb0ElEQVR4Xu1dCZQdVZn+/uruWl4nbCIyLnMkCEGQTTYJioS8eg0EEBSCCuIoAurIUUQgiFFAjSAMLoALhhkGISNRQYIk9HsvCSBLhIiMgChbwEFGHCRo0q+W7lf/nNvdabrTb6t6tbx6de85OQn0/bfvr6/rVtW9/0+QQyIgEaiLAElsJAISgfoISILIq0Mi0AABSRB5eUgEJEHkNSARCIaAvIMEw01KZQQBSZCMJFqGGQwBSZBguEmpjCAgCZKRRMswgyEgCRIMNymVEQQkQTKSaBlmMAQkQY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KNYN7IwJPEeJIU/LEKPOnknSeDhmoMqidAIdG7cqdmOgh4omI6uzebF8bPJUHCQFHqCA2B3KD2aVYgiCIIWndYvc5MzMWm0AzXUSQJEjXCUr9/BFZA0/vUhQS6qJ4wMZ1eKdhL/Cv3JyEJ4g8vOTtGBPSS/s8EXji5K8Bm8wSUK6ZjRu2OJEjUCEv9bSMw/q1HEGVKtZI4vqpLgrSdPqkgLgRyZe1oZgiiHCJsEnB0xXTuiNK+JEiU6ErdkSCgD+qnkSKWXvyAZbqnRmJkXKkkSJToSt3RIcAgvaReYBdab6cWxBlJkCCoSZmOQaB/Tf+OQ3OH/hKVQ5IgUSEr9XYFApIgXZFGGURUCEiCRIWs1NsVCEiCdEUaZRBRISAJEhWyUm9XICAJ0hVplEFEhYAkSFTISr1dgYAkSFekUQYRFQKSIFEhK/V2BQKSIF2RRhlEVAhIgkSFrNTbFQhIgnRFGmUQUSEgCRIVslJvVyAgCdIVaZRBRIWAJEhUyEq9XYGAJEhXpFEGERUCkiBRISv1dgUCkiBdkUYZRFQISIJEhazU2xUISIJ0RRplEFEhIAkSFbJSb1cg8P+GamNQVETlcAAAAABJRU5ErkJggg==",
"socialType": "wechat",
"socialUserId": "oDuIHs5cmy_drtCimQAjheVyIMJE",
"bound": false
},
{
"name": "支付宝登录",
"enterpriseAuthId": "ciammasteralipay",
"logo": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAWc0lEQVR4Xu2dCZAc5XXH/69H14LMqZmRwLE5BAajAgwogG2BZMABA3bhGByMiQtTCIOjAAZtzwpSXkNAOyMpggRzxLHLJDZxhLnkWDIxEggEAYGEBcVhccQCITQ9awmBpNWx0y/1zQ5Cx87x9fT5zeuqrVFp3/e+9/6vf9vT3d9BkEMUEAVqKkCijSggCtRWQACRs0MUqKOAACKnhygggMg5IAp4U0CuIN50k1ZtooAA0iaFljS9KSCAeNNNWrWJAgJImxRa0vSmgADiTTdp1SYKCCBtUmhJ05sCAog33aRVmyggg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0rT6cmYxWZ8OOoltrqiMOPUIJNtCZDtkJQxC4Qzgww0Rr4XMPCgOwQP/flmejdGcbVlKGmb1WLd6ory5SAEaBmQj4JKd/I/EuH6IIKM2icBr4HwILl4aE2BlkQdj/S/uwLpqfwVSuFyML7qpz6+AaKCynbxOa6LyQSc62eQEfn6PatH2ozFpRnyFSqiGmh3m+7iCZaLv2PgAu3GgzTwFZCP/Gc6+QwAh1ZGzaq1thjHKH78CDhAHysALAJj3hYLi+SlXoBKh+BarUBDLq4B4eJWugsEkMECquzuug3HwMLRFWhcHFN3obpWsmrcdgUYS2FhqdobAi6W9hbow8bNxCJpClRGEFuYioH7FEs3/tAAqRVY9jo+GENwMFwc7AIHE+Hg6ttT9dnKcIN3GXgdjDeIBj7h4o1hZbwuq0PqnibJt09P5dFkoRNUuU/Zo9mMIgekbqBq9t8GdAwZihF9ZXSkLIywGB1EGFFWnxa2cT/6mNA3lNBHHdhU3oC+4kj0tbp5Y7MCil2yFFDTrGkzOokr9yn7Noo+3oA0il5+Lwq0oEDG5k4AV9f7piKAtCCwNDVDgYzNau0FBctuAyMFEDNqLFn4oECmky+Guk9hjPvInQDig7DiwiwFMjk+D1y5opwkgJhVW8nGRwXUxlICiI+CiivzFBBAzKupZOSjAgKIj2KKK/MUEEDMq6lk5KMCAoiPYoor8xQQQMyrqWTkowICiI9iiivzFBBAzKupZOSjAgKIj2KKK/MUEEDMq6lk5KMCAoiPYoor8xQQQMyrqWTkowICiI9iiivzFBBAzKupZOSjAgKIj2KKK/MUEEDMq6lk5KMCAoiPYoor8xQQQMyrqWTkowICiI9iiivzFBBAzKupZOSjAv8Pzr2E6MhjgZQAAAAASUVORK5CYII=",
"socialType": "alipay",
"socialUserId": null,
"bound": false
}
]
}
2.9. 绑定社交平台
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/social/bind
Content-Type: application/json
请求参数
{
"code": "061upd0w3o9vGY2Sf74w3anqDM2upd0P",
"enterpriseAuthId":"ciammasterwechat"
}
参数名 | 类型 | 必须 | 内容说明 |
code | string | 是 | 第三方授权回调的 code,AppleId 平台需要传苹果返回的 identity_token |
enterpriseAuthId | string | 是 | 认证源 ID |
返回参数
绑定成功
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655104186558$e44d6012-cd7d-e6b0-3522-8d14be15ad8c",
"data": null
}
异常码
异常码(message) | 内容说明 |
Operation.Failure.User.Has.Bind.Other.Authentication | 当前用户已经有绑定关系 |
Params.Exist.SocialUser.SocialId | 第三方认证源的用户已经绑定了 CIAM 系统中的其他用户 |
2.10. 解绑社交平台
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/social/unbind
Content-Type: application/json
请求参数
{
"enterpriseAuthId":"ciammasterwechat"
}
参数名 | 类型 | 必须 | 内容说明 |
enterpriseAuthId | string | 是 | 认证源 ID |
返回参数
绑定成功
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655104186558$e44d6012-cd7d-e6b0-3522-8d14be15ad8c",
"data": null
}
异常码
异常码(message) | 内容说明 |
Operation.Failure.Social.Not.Bind.Over.Error | 无绑定关系 |
2.11. 注销账号
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/unsubscribe
Content-Type: application/json
请求参数
{
"fId":"xxxxx"
}
参数名 | 类型 | 必须 | 内容说明 |
fId | string | 是 | 流程 ID,前置流程为 2.1 操作检查 |
返回参数
绑定成功
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655104186558$e44d6012-cd7d-e6b0-3522-8d14be15ad8c",
"data": null
}
2.12. 开启手势登录
当手机端需要使用手机号码认证,或者IFAA认证时,需要在安全中心开启人脸或者指纹,当前接口主要是负责人脸指纹开启的认证,只有认证通过后,才算真正的开启。
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/gesture/bind
Content-Type: application/json
请求参数
参数名 | 类型 | 必填 | 内容描述 |
gestureSign | string | 是 | 绑定手势,前段使用用户username对手势aes加密结果 |
返回参数
参数名 | 类型 | 示例 | 内容说明 |
code | string | 200 | 用户身份信息token |
success | string | true | 用户访问token |
message | string | null | 刷新用户token使用 |
requestId | string | oisadjflkjOIUSDALKF | |
data | long | 3600 | token过期时间,单位:秒 |
{
"success": true,
"code": "200",
"message": null,
"requestId": "1649403963427$c4b99c2a-66b6-8709-7dba-9c3dd36b1d29",
"data": null
}
错误列表
errorCode | errorMessage | 描述 |
Operation.Success | Operation.Success | 成功 |
Params.Blank | Params.Blank.Gesture.Sign | 参数sign不能都为空 |
Params.Blank | Params.Blank.User.Username | 用户userName不能为空 |
Operation.Failure | Operation.Failure.User.Not.Exist | 找不到userName对应的用户 |
Operation.Failure | OPERATION_FAILURE_GESTURE_SIGN_ERROR | 验证签名失败 |
Operation.Failure | Operation.Failure.Service.Internal.Error | 服务端内部异常 |
3.个人信息
3.1. 获取个人信息
接口地址
Request URI: GET
/api/bff/v1.2/developer/ciam/user/info
请求参数
无
返回参数
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1677556641231$543adac6-4089-fc12-11b6-a285a150613e",
"data": {
"uuid": "ccfeacc7ffb0c5ec5b2d73f18a9c6203P8gjrPLe4c5",
"username": "d123456",
"password": null,
"enterpriseUuid": "a48708d5b95fe8f935252ddc8500254bvNEfoDffUqV",
"externalId": null,
"phoneNumber": "151****2326",
"phoneRegion": null,
"email": null,
"enDisplayName": null,
"displayName": null,
"unionId": null,
"userTypeUuid": null,
"enabled": true,
"locked": false,
"gender": null,
"birthday": null,
"country": null,
"region": null,
"province": null,
"city": null,
"street": null,
"address": null,
"avatarUuid": null,
"fullName": "************************",
"updatePasswordTime": null,
"baseAttrDictionaries": [
{
"enterpriseUuid": "a48708d5b95fe8f935252ddc8500254bvNEfoDffUqV",
"uuid": "46b13e088966a93daa01d42ccacc0e88zk8mIRyXO0J",
"fieldName": "姓名",
"fieldValue": "fullName",
"dictionaryObjectName": null,
"dictionaryObjectId": null,
"dataDictionaryType": "USER_BASE",
"dataDictionaryFieldType": "TEXT",
"modifiable": true,
"enabled": true,
"unique": false,
"needRelation": false,
"needShow": true,
"needSensitive": true,
"remark": null,
"dictionaryValue": "************************",
"dictionaryValueUuid": null,
"selectFieldOptions": [],
"customAttributes": []
}
],
"userTypeDictionaries": [
{
"userTypeCode": "test",
"userTypeUuid": "ba70b179e2021aa142abce40861a9d37tkPHfzP9GdY",
"userTypeName": "测试类型1",
"dictionaries": [
{
"enterpriseUuid": "a48708d5b95fe8f935252ddc8500254bvNEfoDffUqV",
"uuid": "73560582a19ed20b1ea7fea2e80210a3pt3PVyFrm8T",
"fieldName": "测试扩展属性1",
"fieldValue": "qwer",
"dictionaryObjectName": "测试类型1",
"dictionaryObjectId": "ba70b179e2021aa142abce40861a9d37tkPHfzP9GdY",
"dataDictionaryType": "USER_TYPE",
"dataDictionaryFieldType": "TEXT",
"modifiable": true,
"enabled": true,
"unique": false,
"needRelation": false,
"needShow": true,
"needSensitive": false,
"remark": "",
"dictionaryValue": "测试扩展属性1",
"dictionaryValueUuid": "f1ee692c444c1f5f3751a154e54fc0faP7ZTBkj0MAy",
"selectFieldOptions": [
{
"uuid": "2edfcc0c96dd674ec62c59ee5c85f5ce4iMyC0S5NEm",
"optionId": "1677033711339",
"optionLabel": "",
"optionValue": ""
}
],
"customAttributes": [
{
"uuid": "4fa97b76d92742cfc43fd9fcdded9f1f0DS3stpR053",
"attrId": "1677033711339",
"attrLabel": "",
"attrValue": ""
}
]
}
]
},
{
"userTypeCode": "default",
"userTypeUuid": "3762b69d9f2580c7901441719733271b22zUqxkuQDh",
"userTypeName": "普通用户",
"dictionaries": [
{
"enterpriseUuid": "a48708d5b95fe8f935252ddc8500254bvNEfoDffUqV",
"uuid": "2da98cbd3abb33230c2937dcf29da34dJvPc8zSLqkB",
"fieldName": "普通用户类型扩展属性1",
"fieldValue": "s1",
"dictionaryObjectName": "普通用户",
"dictionaryObjectId": "3762b69d9f2580c7901441719733271b22zUqxkuQDh",
"dataDictionaryType": "USER_TYPE",
"dataDictionaryFieldType": "TEXT",
"modifiable": true,
"enabled": true,
"unique": false,
"needRelation": false,
"needShow": true,
"needSensitive": false,
"remark": "",
"dictionaryValue": "普通扩展属性",
"dictionaryValueUuid": "c4eb28de41249cecd041f0b605ecedfblrAOJgGFaF7",
"selectFieldOptions": [
{
"uuid": "0a9af922a7495c4fdf3a76d127794e30NP2JZP2qLKK",
"optionId": "1677499975276",
"optionLabel": "",
"optionValue": ""
}
],
"customAttributes": [
{
"uuid": "2571b9a9181b962f0ece9e14379529f0vNo1rZjQab7",
"attrId": "1677499975276",
"attrLabel": "",
"attrValue": ""
}
]
}
]
}
],
"userSocialList": [
{
"userSocialUuid": "537c4e34d99942f30b3e2c1b08d90b92lKATczY5T73",
"name": "微信登录",
"enterpriseAuthId": "ciammasterwechat",
"logo": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAb0ElEQVR4Xu1dCZQdVZn+/uruWl4nbCIyLnMkCEGQTTYJioS8eg0EEBSCCuIoAurIUUQgiFFAjSAMLoALhhkGISNRQYIk9HsvCSBLhIiMgChbwEFGHCRo0q+W7lf/nNvdabrTb6t6tbx6de85OQn0/bfvr6/rVtW9/0+QQyIgEaiLAElsJAISgfoISILIq0Mi0AABSRB5eUgEJEHkNSARCIaAvIMEw01KZQQBSZCMJFqGGQwBSZBguEmpjCAgCZKRRMswgyEgCRIMNymVEQQkQTKSaBlmMAQkQYLhJqUygoAkSEYSLcMMhoAkSDDcpFRGEJAEyUiiZZjBEJAECYablMoIApIgGUm0DDMYApIgwXCTUhlBQBIkI4mWYQZDQBIkGG5SKiMISIJkJNEyzGAISIIEw01KZQQBSZCMJFqGGQwBSZBguEmpjCAgCZKRRMswgyGQSYLoZX2W4vFuTJjNjNlEmA2wASIDHnIgGKP/DTIA8W8MgVGBgiEGhoipAvAQET/nVfE8SHkOhOcwgufsI+3ngqVCSnUiAl1NkFwx90b0VPf2PN6boOzD4D0IggzoizIZzHiMiB5l9h5TQI95TI/aA/b6KG1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cWxBlJkCCoSZmOQaB/Tf+OQ3OH/hKVQ5IgUSEr9XYFApIgXZFGGURUCEiCRIWs1NsVCEiCdEUaZRBRISAJEhWyUm9XICAJ0hVplEFEhYAkSFTISr1dgYAkSFekUQYRFQKSIFEhK/V2BQKSIF2RRhlEVAhIgkSFrNTbFQhIgnRFGmUQUSEgCRIVslJvVyAgCdIVaZRBRIWAJEhUyEq9XYGAJEhXpFEGERUCkiBRISv1dgUCkiBdkUYZRFQISIJEhazU2xUISIJ0RRplEFEhIAkSFbJSb1cg8P+GamNQVETlcAAAAABJRU5ErkJggg==",
"socialType": "wechat",
"socialUserId": "oDuIHs14354gjaRpvyZulyKk760Q",
"socialId": "ciammasterwechat",
"bound": true
}
],
"createTime": 1675407254000,
"picture": null,
"description": null
}
}
参数名 | 类型 | 示例 | 内容说明 |
uuid | string | xxx | 用户的唯一标识 |
username | string | xxx | 用户的登录账户名 |
externalId | string | | 用户的外部 ID |
phoneNumber | string | 1510000**** | 用户的手机号 |
phoneRegion | string | 86 | 用户的手机区号 |
string | te**@test.com | 用户的邮箱 | |
enDisplayName | string | | 用户的英文显示名称 |
displayName | string | | 用户的显示名称 |
enabled | boolean | true | 是否启用 |
locked | boolean | false | 是否锁定 |
gender | string | 男 | 用户的性别 |
birthday | string | 2022-01-01 | 用户的生日 |
description | string | | 用户的个人描述 |
country | string | 中国 | 用户的国家 |
region | string | | 用户的地区 |
province | string | | 用户的省份 |
city | string | 北京市 | 用户的城市 |
street | string | | 用户的街道 |
address | string | | 用户的详细地址 |
fullName | string | | 用户的完整姓名 |
picture | string | data:image/*;base64,xxxxxx | base64 格式的图片 |
updatePasswordTime | string | 2022-01-01 00:00:00 | 密码更新的时间 |
userTypeDictionaries | Array | | 当前用户的扩展属性列表,按照用户类型分组 |
baseAttrDictionaries | Array | | 当前用户的基本属性的配置列表,包含属性是否可修改等配置 |
userTypeDictionaries
的参数
参数名 | 类型 | 示例 | 内容说明 |
userTypeCode | string | | 用户所属的类型编码 |
userTypeUuid | string | | 用户所属的类型唯一标识 |
userTypeName | string | | 用户所属的类型名称 |
dictionaries | Array | | 当前类型下用户的扩展属性了列表 |
dictionaries.dictionaries
和 baseAttrDictionaries
的参数
参数名 | 类型 | 示例 | 内容说明 |
uuid | string | xxx | 用户的唯一标识 |
fieldName | string | 科室 | 扩展属性的字段描述 |
fieldValue | string | depatment | 扩展属性的字段名 |
dataDictionaryType | string | USER_TYPE | 扩展属性所属的对象类型,参考附录七 |
dataDictionaryFieldType | string | DATE | 扩展属性的数据类型,参考附录八 |
dictionaryObjectName | string | 医生 | 扩展属性所属的对象名 |
dictionaryObjectId | string | xxxx | 扩展属性所属的对象UUID |
modifiable | boolean | true | 是否允许用户修改 |
enabled | boolean | true | 是否启用当前扩展属性 |
unique | boolean | true | 扩展属性值是否唯一 |
needShow | boolean | true | 是否可见(主要用于控制用户中心中是否展示该扩展属性) |
needSensitive | boolean | true | 是否脱敏 |
remark | string | | 备注,扩展属性的描述信息 |
dictionaryValue | string | | 扩展属性的值 |
dictionaryValueUuid | string | | 扩展属性的值的UUID |
selectFieldOptions | Array | | 下拉框类型的扩展属性的可选项 |
customAttributes | Array | | 多选框类型的扩展属性的可选项 |
selectFieldOptions
的参数
参数名 | 类型 | 示例 | 内容说明 |
uuid | string | xxx | 单选框选项的唯一标识 |
optionId | string | 1675168417834 | 单选框组件的唯一ID,主要用户前端赋值 id |
optionLabel | string | 姓名 | 单选框组件的可选项字段描述 |
optionValue | string | name | 单选框组件的可选项字段名 |
customAttributes
的参数
参数名 | 类型 | 示例 | 内容说明 |
uuid | string | xxx | 多选框的唯一标识 |
attrId | string | 1675168417834 | 多选框组件的唯一ID,主要用户前端赋值 id |
attrLabel | string | 研发一部 | 多选框组件的可选项字段描述 |
attrValue | string | xx | 多选框组件的可选项字段名 |
3.2. 修改个人信息
接口地址
Request URI: PUT
/api/bff/v1.2/developer/ciam/user/info
Content-Type: application/json
请求参数
参数名 | 类型 | 必须 | 内容说明 |
uuid | string | 是 | 账户唯一标识 |
enDisplayName | string | 否 | 英文显示名 |
displayName | string | 否 | 中文显示名 |
language | string | 否 | 语言类型 |
avatarUuid | string | 否 | 头像 |
fullName | string | 否 | 姓名 |
gender | string | 否 | 性别 |
birthday | string | 否 | 生日 |
country | string | 否 | 国家 |
region | string | 否 | 区域 |
province | string | 否 | 省 |
city | string | 否 | 市 |
street | string | 否 | 街道 |
address | string` | 否 | 地址 |
dictionaryValues | Array | 否 | 账户扩展属性列表 |
dictionaryValues
的参数
参数名 | 类型 | 必须 | 内容说明 |
uuid | String | 否 | 扩展属性值的 UUID |
dictionaryUuid | string | xxx | 扩展属性的 UUID |
dictionaryValue | string | xxx | 扩展属性的值 |
返回参数
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1661945550706$e7b5f9b7-9afc-ec94-6bff-4ce8f8a2fcff",
"data": null
}
3.3. 获取登录历史
接口地址
Request URI: GET
/api/bff/v1.2/developer/ciam/user/login/history/list
请求参数
无
返回参数
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655448268429$17c01a35-5c26-33b8-ba1b-d905e4d191a3",
"data": {
"historys": [
{
"uuid": "f5b1c561d9eea3ceb860ffc8cdd5d3161TyJiKV1dRC",
"createTime": "2022-06-14 21:49",
"archived": false,
"updateTime": "2022-06-14 21:49",
"loginMode": "SMS",
"loginIp": "0:0:0:0:0:0:0:1",
"loginAddress": "未知"
},
{
"uuid": "463e2ed871ee44bcb00240f9339680895CTp6o51XMK",
"createTime": "2022-06-14 21:42",
"archived": false,
"updateTime": "2022-06-14 21:42",
"loginMode": "SMS",
"loginIp": "0:0:0:0:0:0:0:1",
"loginAddress": "未知"
}
]
}
}
3.4. 获取隐私条款授权历史
接口地址
Request URI: GET
/api/bff/v1.2/developer/ciam/user/get_agree_records
请求参数
无
返回参数
{
"success": true,
"code": "Operation.Success",
"message": "Operation.Success",
"requestId": "1655448255894$c40c7299-4c67-b2a0-f06f-217cd93a616b",
"data": [{
"id": 29,
"createTime": 1656408934000,
"updatedTime": 1656408950000,
"uuid": "4fe63949bc8f45e0b01990420f2b5a1fnA182kHw1eU",
"systemId": "0000000000000000",
"tenantId": "a48708d5b95fe8f935252ddc8500254bvNEfoDffUqV",
"name": null,
"consentType": null,
"description": null,
"versionNumber": "v1.0",
"versionTitle": "测试",
"versionContentType": "TEXT",
"base64EncodeContent": "PHA+5rWL6K+V77yM5rWL6K+VLTLvvIzmtYvor5UtMjwvcD4=",
"recordVersionStatus": "PUBLISHED",
"publishDate": 1656408950000,
"expiredDate": null,
"recordUuid": "34bdf1c7cc04880730d9d4b0dc38fa467eXWh2wc8m5",
"recordExternalId": "a4a94594-528c-45e8-bde6-10a3edd4f018",
"registeredApplications": null
}]
}
3.5. 撤回隐私条款授权
接口地址
Request URI: POST
/api/bff/v1.2/developer/ciam/user/agree_records/recall
Content-Type: application/json
请求参数
{
"uuid":"123456"
}
返回参数
无