live-sdk

Sign in to multiple Microsoft account in Windows Store app

≯℡__Kan透↙ 提交于 2019-12-11 17:44:33
问题 Is it possible to: sign-in to multiple Microsoft accounts in a Windows Store app? Mail app does it* sign-in to Microsoft account that is not the one used for logging in to Windows? Store app does it* I tried something like the following (taken from Live SDK sample code) but it only sign me in with the account I used to log in to Windows var client = new LiveAuthClient(); var result = await client.LoginAsync(new[] { "wl.basic" }); if (result.Status == LiveConnectSessionStatus.Connected) { this

Why doesn't Microsoft Skydrive download multiple files even though MS example shows it? (wl.download)

烈酒焚心 提交于 2019-12-11 05:58:43
问题 Summary I am attempting to find out why the wl.download function will not download more than one file even though the Microsoft examples seem to indicate that they can. And, the code seems to be called for each file you attempt to download, but only the one file is actually downloaded. Details Here are the details of how you can see this problem which I've tried in IE 11.x and Chrome 30.x If you will kindly go to : http://isdk.dev.live.com/dev/isdk/ISDK.aspx?category=scenarioGroup_skyDrive

After first scuccessful login & logout windows live sign in button is not working on windows phone

不羁的心 提交于 2019-12-11 01:58:46
问题 Am creating an application which used Windows Phone Live Account & I referred Windows Live Sdk sample code for doing that. xaml <Grid x:Name="LayoutRoot" Background="Transparent"> <my:SignInButton Name="btnSignin" ClientId="CLIENT_ID" Scopes="wl.signin wl.basic" Branding="Windows" TextType="SignIn" SessionChanged="btnSignin_SessionChanged" HorizontalAlignment="Left" VerticalAlignment="Top" /> </Grid> Here is the logout code public void LogOut() { var authClient = new LiveAuthClient(ClientId);

Permission screen appears every time

六月ゝ 毕业季﹏ 提交于 2019-12-11 01:49:08
问题 I want to make my WinForms-App to use the SingleSign-On (SSO) feature with Microsoft Accounts. I created a LiveApp and I'm able to Login to my App with the LiveSDK 5.4. But everytime I click on my Login-Button the permissions list appears and I need to accept it again. This is my code: private const string ClientID = "{MY_CLIENT_ID}"; private LiveAuthClient liveAuthClient; private LiveConnectClient liveConnectClient; string[] scopes = new string[] { "wl.offline_access", "wl.emails", "wl

How are Microsoft account JWT authentication tokens signed?

夙愿已清 提交于 2019-12-10 17:22:16
问题 In my web application I need to validate the JWT authentication tokens which I get from Live SDK 5.6. A while ago the signature of those tokens was a HMACSHA256 hash of base64 encoded header+payload using signing key which was the app secret (from account.live.com/developers/applications) + "JWTSig". It seems that is not the case now. Does anyone know how are those tokens signed now? Sorry for my english. 回答1: The best way to do this is to get the JWT token returned from Azure Mobile Services

Get contact's phone numbers and emails using the Windows Live/OneDrive REST API

随声附和 提交于 2019-12-08 16:14:25
问题 Has anyone successfully used the Live SDK (also called OneDrive SDK) to retrieve the email addresses and/or phone numbers of an user's contacts ? The best I have been able to do is the get profiles for a users contacts but it only includes hashed email addresses and no phone numbers, like this for example : { "id": "contact.1e680c06000000000000000000000006", "first_name": "James", "last_name": "Cameron", "name": "James Cameron", "gender": null, "is_friend": false, "is_favorite": false, "user

How to open a file from OneDrive with FileOpenPicker?

故事扮演 提交于 2019-12-08 10:19:56
问题 The document says "Your app can use the Windows file picker by using the Windows.Storage.Pickers namespace for opening and saving files to the user's OneDrive. " When FileOpenPicker opens the selection window, OneDrive is nowhere to be found. The app has signed in with scope "wl.skydrive_update". Could anyone offer a tip on this? 回答1: Are you using a Windows 10 Universal App? As far as I know this is not supported on Windows 8.1. Edit: (after testing I know Peter is right) This is an amazing

C# UWP LiveSKD and OneDrive access using FileOpenPicker

微笑、不失礼 提交于 2019-12-06 09:34:06
I'm developing a Universal Windows Platform app that allows a user to open and edit files using the FileOpenPicker. The idea is that the user can choose any file on their computer, including files located in their OneDrive folders. On Windows 10 Desktop, this is working perfectly. However, on a Windows Phone 10 device, the result is very different. When a user chooses a file with the picker, the file is downloaded to a local storage folder, and the user is able to edit the file. But when the file is edited, it is not synced back to OneDrive. According to https://dev.onedrive.com/ Picker SDKs

“SSL23_GET_SERVER_HELLO:unknown protocol” Error Trying to Reach Outlook smtp Server

喜欢而已 提交于 2019-12-04 03:38:27
问题 I'm trying to send emails from an Outlook account in my iOS application. I'm using Mailcore2 and Outlook's Live-SDK. I am able to receive emails, but get an error when I try to send emails: "a stable connection to the server could not be established". To investigate the issue, I went into the terminal and tried to connect via SSL: openssl s_client -crlf -connect smtp-mail.outlook.com:587 The response I got back was: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:

Onedrive API vs LiveSDK

限于喜欢 提交于 2019-12-03 23:21:08
I am developing for WP8.1 and probably will port on other platforms. I want to integrate a OneDrive functionality, however, I can't understand what is the difference between LiveSDK (from NuGet packages) and OneDrive API . It seems that Microsoft does not communicate at all regarding that, I really don't understand why. As far as I understood, the LiveSDK is the old one and will be replaced by OneDrive API , but the LiveSDK seems so much simpler to use that I can't understand their logic... On top of that both have been updated recently (in April for the LiveSDK ). So my question is As long as