Here you can find my updated ACS2 sample. In addition to the existing front ends (web [WS-Federation], console [SOAP & REST], Silverlight [REST]) and error handling, it now also includes a WPF client that shows the passive/active transition with a SOAP service as illustrated here.
All the ACS interaction is encapsulated in a WPF user control that:
- retrieves the JSON feed
- displays a list of supported identity providers
- triggers the sign in via a browser control
- retrieves the token response
- packages the token as a GenericXmlSecurityToken (to be used directly with the WIF ChannelFactory extensions methods)
All you need to supply is the ACS namespace and the realm.