I'm going to use AD FS to authenticate a user in a .NET 4.5 application. I can not find examples of requesting / receiving a token from a console application and converting this token to a ClaimsPrinciple. The only examples I can find are the WCF configuration, and I really would like to see the actual code that can do this in its simplest form.
I installed AD FS and I think I configured it to receive requests. I created a relying party, given its key and assigned a couple of claims to it.
Can someone point me in the right direction or what should I do now in my console application to send authentication requests to it?
thanks
Gavin source share