WSO2:如何使用 API 获取用户信息

WSO2: How can i get user Information with API

我会有一些关于用户的信息。 我用这个 Scim API https://localhost:9443/scim2/Users

ì响应缺少一些信息,例如帐户已禁用。 我能以某种方式检索此信息吗?

(也许我需要以某种方式使用声明)

非常感谢。

我不确定这是否是您要查找的内容,但使用以下 SCIM api 您可以找到有关所需用户的更多信息:“https://localhost:9443/api/identity/user/v1.0/pi-info/"

这是 API 的 link:https://docs.wso2.com/display/IS510/apidocs/self-registration/#!/operations#UserExport#getUserById

此外,您可以扩展 SCIM 用户信息,如下 link 所述: [1]https://is.docs.wso2.com/en/latest/develop/extending-scim2-user-schemas/#extending-the-scim-20-api [2]https://everything1know.wordpress.com/2018/09/17/user-account-locking-with-scim-api-in-wso2-identity-server-5-4-0/

您可以在那里配置您想要的声明,类似于 link 中解释的“accountLocked”属性。