I am following
and I was able to create an app that successfully register the device. I am also following the UX guideline of
In Step 3, Things to Try, there is a sign out button, so people can switch accounts. It seems to say one should call signOut from AuthorizationManager?
Let's say it is I am suppose to call AuthorizationManager.signOut(), then how do I know that the app is signed in? The AuthorizationManager.authorize for AVS devices with AUTHORIZATION_CODE grant, and that gets passed to the devices for it to get access token and refresh token. The devices gets the token, not the app, so when I call AuthorizationManager.getToken() or User.fetch(), similar to Login With Amazon Sample app, it does not work. Should the app also do a post http requests with the AUTHORIZATION_CODE to get access token? What happens if user authorize another device, why would I need to get access token again with the same user? Is there a way to know if the user is logged in, similar to the Login With Amazon Sample app?