The IOS SDK doesn’t have a callback/listener method to detect if the user has unlinked the account from the Nest website. The android SDK though had the onAuthRevoked() listener method to detect the above said scenario and we cleared out the saved token when this method was triggered.
Does Nest provides a REST API to check if the user has unlinked the account as I believe the IOS SDK doesn’t provide this out of the box. Please advice.
Note: I also looked into the documentation but wasn’t able to find anything specific calls to check if the authentication is valid or not.