Learn how to make the most out of the Dropbox Community here 💙!
Forum Discussion
Koichia
5 years agoExplorer | Level 4
Can I get current access token from DropboxClient (.NET SDK)?
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 w...
Koichia
5 years agoExplorer | Level 4
Thanks for your reply! Yes I understand you cannot promiss if or when, but since there's still time left until the long-lived access token is retired, I'll patiently wait with a hope for this feature in the near future :) Otherwise we'll probably make a separate call to the token endpoint on our own and get new access token manually.
kailasbhole
4 years agoNew member | Level 2
Is this functionality still not implemented
- Greg-DB4 years ago
Dropbox Staff
kailasbhole No, I don't have an update on this request.
- DrMDodd3 years agoExplorer | Level 3
I would like to know how we can get the dropbox token using the .NET SDK? Is it true that the Refresh Token does not Expire?
- Greg-DB3 years ago
Dropbox Staff
DrMDodd For the official Dropbox API v2 .NET SDK in C#, you can find an example of getting and using a refresh token in the OauthBasic example (non-PKCE, meant for server-side apps) as well as in the OAuthPKCE example (PKCE, meant for client-side apps). As noted earlier in this thread, the SDK does not offer the ability to extract the current short-lived access token, but if you use the SDK as shown it will handle the access token for you.
And yes, Dropbox refresh tokens do not expire automatically (though they can be revoked on demand).
About Discuss Dropbox Developer & API
Make connections with other developers810 PostsLatest Activity: 3 days ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!