Last post Mar 27, 2017 08:29 PM by maherjendoubi
Mar 27, 2017 12:40 PM|GinoMessmer|LINK
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?
Mar 27, 2017 08:29 PM|maherjendoubi|LINK
You need to use X509SecurityKey.