Hey there! I'm in the functional design phase of my app. I'm trying to get a good grip on how to manage access.
You suggested (in another thread) to validate the session token by making some kind of call to a REST service. On error we can conclude the user has to re-login. I guess I can manage that. But what if this test fails because the internetconnection fails. Does it return Error too? If so: how could I make a distinction between a failing session-token and a failing Internetconnection? (distinguishing does matter a lot for the user experience I guess).
And what is this event 'Complete' that is the third possible outcome when invoking a REST service. What's the difference with 'Succes'?
Do you have any suggestions / tutorials / documentation to point to, for building a nice process for handling the process of waiting for a returning internetconnection / retrying the service invoked.