This is Part 2
I am assuming you've read Part 1 and that you've downloaded the Windows Identity Foundation Training kit
MY PREVIOUS POST
Security for Azure, WCF, Windows Phone 7, and Silverlight – Part 1 of many - Introduction
http://blogs.msdn.com/b/brunoterkaly/archive/2010/08/14/security-for-azure-wcf-windows-phone-7-and-silverlight-part-1-of-many.aspx
Windows Identity Foundation Training Kit download
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3e315fa-94e2-4028-99cb-904369f177c0
Opening the starter project
These posts are not about CREATING a Security Token Service
Project 1: https://localhost/GymFabrikamP_Sts/
This is the identity provider (explained in previous post). It offers the identity provider functionality programmatically as a Security Token Service (STS). Multiple projects can leverage this service by accessing it as an endpoint (a url in this case)
Notice the user interface for logging in the Security Token Service
Project 2: SL.IdentityModel
This class library simply exposes claims object model. Silverlight does not provide the needed objects so we simply set a reference to the SL.IdentityModel from Silverlight.
Project 3: SL.IdentityModel.Server
This is another class library (assembly) that can trigger authentication when necessary. It will be called from the website hosting our Silverlight application when users try to access resources.
Add Silverlight Project
Steps to take
Right-click the solution again, but this time, select Add | New Project.
In the New Project dialog, expand Visual C# in the project types list and select Silverlight.
In the Templates list, select Silverlight application.
Enter GymFabrikamClient as project name and click OK to create the project.
Work in progress, not complete…