dropbox-sdk-java icon indicating copy to clipboard operation
dropbox-sdk-java copied to clipboard

Javadoc is inconsistent with oficial documentation

Open adolfov opened this issue 2 years ago • 1 comments

On the Javadocs for DbxWebAuth it says access tokens are valid for years: https://github.com/dropbox/dropbox-sdk-java/blob/e8b39d1f8e6ea81b6c547ae8e66a47eb0e7be40b/dropbox-sdk-java/src/main/java/com/dropbox/core/DbxWebAuth.java#L25

However the official documentation reads:

Dropbox access tokens are short lived, and will expire after a short period of time. The exact expiry time of a token is returned by the token endpoint (or the redirect URI in implicit grant) - but is generally long enough for a reasonable web session.

From: https://developers.dropbox.com/oauth-guide

adolfov avatar Mar 02 '23 14:03 adolfov

Thanks for pointing that out! That is out of date, from when Dropbox returned long-lived access tokens instead of the current short-lived access tokens. I'll ask the team to update that.

greg-db avatar Mar 02 '23 15:03 greg-db