Best method to use Authentication JAVA SDK API to avoid generating Auth code again n again
Hello Experts,
I am referrig to following URL, which has description for eachauthenticaion mechanism.
https://github.com/box/box-java-sdk/blob/master/doc/authentication.md
Developer Tokens Normal Authentication Manual Authentication
at prsent I am using Developer Tokens, but clearly mentioned that not good for production mode.
So Normal Authentication has dependency based
you need use this + client ID and secret withint he 30 seconds to get an access token.
The alternative is to use the access token (60 minutes) along with the refresh token (Valid 60 days) to make a refresh API cal lto box authorisation server.
can some one provide me sample java code for the above alternative ?
Thank you in advance
-
Thank you for your response.
I am prforming activity on migration - where we do have ECM system like OT and Documentum, need to transfer / dump the content with minimum metadata to BOX, which one should be appropriate ? migration run will run for hours..
Do you have any reference or JAVA sample code for JWT auth process ? I believe that one is suitable for my requirement, can you throw some light ?
Thanks,
Please sign in to leave a comment.
Comments
2 comments