Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

System.IdentityModel.Metadata and X509SecurityToken not available in ASP.NET Core

$
0
0

I'm currently trying to get signing keys from Azure Active Directory based on the signing key rollover guide over at Microsoft docs in order to authenticate HTTP requests on an ASP.NET Core Web API endpoint I'm developing.

Although I migrated the source code shown in the article it doesn't seem like some references and classes are available in ASP.NET Core web apps such as System.IdentityModel.Metadata and classes like X509SecurityToken, MetadataSerializer, EntityDescriptor and X509RawDataKeyIdentifierClause.

Source code with types not found

I already searched on NuGet, but it doesn't seem like packages are available for System.IdentityModel and I'm not able to reference system assemblies in ASP.NET Core neither.

Which libraries shall I use in ASP.NET Core instead?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>