Skip to main content

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

 


We have two authentication schemes. The OAuth process is designed to be used with Standard Box Users (Managed Users) to access Enterprise Content. The JWT auth process is designed to be used with App Users.


 


The developer token is designed to be used for testing purposes.



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,



Reply