AWS Cognito- get user information with ID

你离开我真会死。 提交于 2019-12-11 00:34:08

问题


Is there any way to get information about the user in AWS Cognito pool (on android) who is not logged in, knowing his ID? I tried that code:

 AppHelper.getPool().getUser(username).getDetailsInBackground(detailsHandler);

However it works only for username who is currently logged in.


回答1:


No, there is not.

You get get user information given the user name by calling AdminGetUser from you backend with your developer credentials but not from an Android client.



来源:https://stackoverflow.com/questions/37944001/aws-cognito-get-user-information-with-id

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!