Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to preview a box file using a Preview token and a fileID? #30

Open
wangqiwei66 opened this issue Feb 6, 2018 · 2 comments
Open
Labels
enhancement objective-c Related to prior code base, now on the objective-c-maintenance branch

Comments

@wangqiwei66
Copy link

Previously I can get a manage token to pass the box authentication . But now I can only get a preview token (as. downscope token) ,which reponse 403 .
So would you pls tell me : I got a## preview token and the associated ## fileID ,can I use that to preview a box file ? If yes ,how ? thanks a lot .

@jlawton
Copy link
Contributor

jlawton commented Feb 9, 2018

I haven't attempted it, but I believe that it would be possible to create a custom BOXAbstractSession object, with the given accessToken, and from that create a BOXContentClient and BOXPreviewClient. This does indeed seem like a missing feature.

@wangqiwei66
Copy link
Author

Hi , Jlawton:
thanks for you response , I wonder when BOX-SDK can add this feature? Do you have a schedule for this ? We need that in an urgent project . thanks .

@PJSimon PJSimon added the objective-c Related to prior code base, now on the objective-c-maintenance branch label Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement objective-c Related to prior code base, now on the objective-c-maintenance branch
Projects
None yet
Development

No branches or pull requests

3 participants