Windows Live ID available options – Part I
In a recent post, I promised to demystify Windows Liveâ„¢ ID and help you understanding what the options are when it comes to integrate Windows Live ID to your (new) application. I said "application" because WLID is not only something you can plug into your web application but also to your Smart Client application as well. Note that even if WLID is available to Smart Clients, some Windows Liveâ„¢ Services cannot be access from a Smart Client application and can only be "touched" from a web application only - so, make sure you carefully read the Terms Of Use (TOU) for each service.
Windows Liveâ„¢ ID is providing you with an authentication infrastructure so you don't need to build it in-house. Let's clearly set the scene - I am talking about Authentication information and not Authorization and/or Profile information. While you will be relying on Windows Live servers for authenticating (sign in, sign out, sign up) users, all information about their profile and the rights they have within your application is fully under your control and won't be stored on Windows Liveâ„¢ infrastructure. Unless some very special cases, you won't have access to WLID profile information and even to the WLID Identifier (a fortiori WLID password) used for signing-in when it comes to Web Authentication for example. Basically and for privacy reasons, when users will use WLID to sign-in to your application, you'll be receiving from the Live infrastructure a Private Personal Identifier (PPID) that is unique for a given WLID and a given application - this might vary depending on the option (SDK) you choose to go for.
You basically have five SDK to help you benefit from Windows Liveâ„¢ ID infrastructure. Two SDK are essentially targeting Smart Client applications and three SDK are targeting Web Based solutions. In this part, I will concentrate on Client based authentication.
Microsoft Windows Live ID Client SDK 1.0 - This SDK is dedicated to Smart Client solutions providing WLID as an authentication mechanism. It comes two main classes - Identity and IdentityManager. How this is working?
Basically, the developer uses the IdentityManager class to create an Identity object using the IdentityManager.CreateIdentity method. Use the Identity.Authenticate method for prompting the user to enter his WLID credentials - the form UI comes with the assembly and is completely opaque to the developer. if the user's credentials are correctly entered, the Identity.Authenticate returns true and the Identity.IsAuthenticated is also set to true. The process also populates two main properties; Identity.cId and Identity.UserName.
Identity.cId is the PPID for that given user for this given application and Identity.UserName is the Windows Live identifier used for signing-in.
Microsoft, Windows Live, Live ID, Windows Live ID

Leave a comment »