Hello,
I'm currently in the process of migrating to the short-lived access token now, and I have one question regarding access token.
Looking at the documentation, Dropbox.Api.DropboxClient will automatically refresh the access token if necessary.
My question: Can I access to the current (whether it's refreshed or not) access token and it's expiration through Dropbox.Api.DropboxClient (or somewhere else)?
I want to get the latest access token whenever possible because our end-user can access Dropbox resources in quick succession from their Web browser, and when they do, we make requests to their Dropbox resources from our .NET server.
Without the current access token available to us, the Dropbox.Api.DropboxClient will end up obtaining a new access token for almost every single request we make to Dropbox, which is not ideal for us (extra overhead, and we might get rate limitted too), and probably for Dropbox too.
Please let me know if it's possible for me to access the current access token (you don't have to tell me whether it's refreshed or not, since I can tell that by comparing with the old access token I have), and it's expiration from your .NET SDK.
Thanks!