I'm verifying several things during my component initializitation, one of which is the "state" of the newly initialized DbxClient. Is there any way to determine whether the token passed as a argument is correct or the general host is responding? I would expect methods like "assertTokenCorrectness" or "checkConnectionStatus" in either DbxClientV2 class or any other utilty/helper class. So far the only way to determine things I mentioned is to actually fire method like DbxClientV2.files().listFolder() and check if it throws DbxException.
To be honest, I really doubt there is any suitable method I missed but at least my need would evolve into a feature request
.
I would appreciate any tips for better workaround than mine.