mobile SDK and authentication
Hello
My goal is to develop some app on android where files created/updated in a dedicated folder will be automatically pushed to my Box account.
First, Im not sure i should go for app manager(OAuth) or app user(JWT). Maybe you may advise.
So, I started to test the OAuth flow through the available methods/attributes: authenticate, refresh, logout, getAccessToken, getRefreshToken, onRefresh, ...
I store tokens after onRefresh is triggered.
Now, I probably have searched wrongly, but I cannot figure out how to pass, in the new sdk, my refresh token for persisting session.
In old docs I can see it was possible to authenticate using client_id, client_secret and access_token.
Should I forget about authentication (besides the 1st time) and just go for basic request with tokens I would have stored??
Thanks a lot for your reply and sorry if Im not using the proper terms (maybe the reason why I found nothing in forum)
regards
Please sign in to leave a comment.
Comments
0 comments