liveid

Login from Universal App to Web Api using Live Id

末鹿安然 提交于 2019-12-10 20:03:46
问题 I'm trying to implement following functionality: User signs in into Live Id account from Windows Phone 8.1 (or Universal) app. App accesses Web Api that I develop with ASP.NET Web Api 2 In this Web Api I need to authenticate the user. Later, I want to authenticate same user in web app Here is what I'm doing, and it doesn't work. In my Windows Phone App: var authClient = new LiveAuthClient("http://myservice.cloudapp.net"); LiveLoginResult result = await authClient.LoginAsync(new string[] { "wl

LiveID API fails - missing token

情到浓时终转凉″ 提交于 2019-12-08 12:16:03
问题 I'm trying to retrieve some information from the LiveID API but am getting the error: The provided request does not include an access token. An access token is required in order to request this resource. the code is relatively simple; I'm including the library, calling the initialiser with the nameidentifier claim I get from WIF and then requesting the me path. from the error message I surmise I failed to provide an access token... but wouldn't my app have this already since I successfully

How to programmatically extract Windows Phone's LiveID?

£可爱£侵袭症+ 提交于 2019-12-01 08:46:24
Is there any way to look up liveID related to a phone (in a way like myliveid@hotmail.co.uk)? I think it was possible in Android. Wouldn't UserExtendedProperties.TryGetValue("ANID") be helpful? Thanks If you run UserExtendedProperties.TryGetValue("ANID") you'll get a GUID (the windows live anonymous id), but you can't use that GUID to link it to an Live ID like myliveid@hotmail.co.uk 来源: https://stackoverflow.com/questions/10473742/how-to-programmatically-extract-windows-phones-liveid

How to programmatically extract Windows Phone's LiveID?

…衆ロ難τιáo~ 提交于 2019-12-01 06:50:47
问题 Is there any way to look up liveID related to a phone (in a way like myliveid@hotmail.co.uk)? I think it was possible in Android. Wouldn't UserExtendedProperties.TryGetValue("ANID") be helpful? Thanks 回答1: If you run UserExtendedProperties.TryGetValue("ANID") you'll get a GUID (the windows live anonymous id), but you can't use that GUID to link it to an Live ID like myliveid@hotmail.co.uk 来源: https://stackoverflow.com/questions/10473742/how-to-programmatically-extract-windows-phones-liveid