2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
Jorge, there is another API call in UpdateDeviceStatus which seems it may doo something similar to what you are mentioning without a permanent removal of the device. https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html
This call uses a "remembered | not_remembered" mechanism that may achieve what you are looking to do.
répondu il y a un an
0
Additionally, there are other Device Management API calls that may help find an un-forget your device. https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminUpdateDeviceStatus.html https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminListDevices.html
répondu il y a un an
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 4 mois
The problem is when I forget a device, AdminListDevices does not return the device forgotten and AdminUpdateDeviceStatus returns "Device does not exist." message if I use the device key forgotten. I liked AdminForgetDevice because it logs out the device you want when you execute it and you don't have to handle a log out method. So it seems I have to handle this logic by my own side. Thanks by the way!