How To Download File As AuthenticatedUser By Using user-token?

I’m trying to download a file in which i’ve denied access to Read for NotAuthenticatedUser. The documentation says that to download the file as an AuthenticatedUser you must supply the user-token.

After logging in I have received the user-token successfully using: UserTokenStorageFactory.instance().getStorage().get()

And I can download files that haven’t been restricted access to by using the method described in this blog post:
https://backendless.com/feature-102-downloading-files-from-backendless-file-hosting/

How can I modify the method used in the blog post in order to supply the User Token?

Sorry, I only just found that you have already made a video about this!

For anyone else with the same question you can find the video here:

Hi Jake,

Sorry, I am late to respond to this. Yes, the video shows exactly how to do what you’re asking for.

Cheers,
Mark