3

I've got Claims and ClaimSet for my claims-based authentication. I want to move my library from .NET Framework to .NET Standard 2.0 but I can't find an equivalent class. There must be support for Claims-based authentication in .NET Standard 2.0, so I must be missing something obvious, right? What is it?

Quark Soup
  • 4,272
  • 3
  • 42
  • 74

2 Answers2

0

install nuget package named System.ServiceModel.Primitives

ozanmut
  • 2,898
  • 26
  • 22
0

You can use System.Security.Claims for Claims, ClaimSet hasn't been included unfortunately, but that shouldn't be to hard to overcome.

Relevant to create your own ClaimSet: this article on docs.ms

Also worth mentioning is this github-repo (IdentityModel)