leastprivilege.com
Using IdentityModel: Converting ADFS Security Properties to Claims
This little helper might be useful when you are working with ADFS, but want to use the IdentityModel types in your app: public static ClaimSet ToClaimSet(this SingleSignOnIdentity identity){ &…