I am learning the new Claims-based Authentication methods in .NET 4.5, and am using a Console app to do so. According to MSDN here, ClaimsAuthenticationManager is a member of System.Security.Claims namespace. As you can see here, I am not getting this option. I have made sure the project is using .NET 4.5. I am missing something simple here... anyone have any suggestions?
You need to add a reference to System.IdentityModel.dll
You can see this in the documentation for ClaimsAuthenticationManager
:
Namespace: System.Security.Claims
Assembly: System.IdentityModel (in System.IdentityModel.dll)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With