I have a client who would like to use SkyDrive as a cloud storage for a website. This website will not offer the site user for their SkyDrive account to show their files, but the site owner will store some files in SkyDrive and would like to share it with users logged into his site. My question is, how can I send credentials to the SkyDrive API directly from the PHP code on my website?
The API documents in Live Connect ( http://msdn.microsoft.com/en-us/library/live/hh243647.aspx ) seem to focus on presenting the registration form to the user to send the user credentials for the service. Again, this is not what I want. The website user does not need to do anything except go to the page and they will see the files reflected from the SkyDrive account. Credentials must be stored on the server and sent when the user requests a page.
I asked a question similar to the question about Google Docs ( How do I connect to the Google API without oAuth authentication? ). The answer to this question was to set up a temporary script in order to get an update token that could be used again and again for authentication. I tried this and it worked. However, I am not sure how long the update token has been updated, and if the same method works with the SkyDrive API.
Edit: After doing a few more studies of Live Connect Docs ( http://msdn.microsoft.com/en-us/library/live/hh826540 ):
, , Live Connect , , . , . - . , wl.offline_access. , , , , , , , . . , - .
, , . , -, , , . . , ?