We are porting our project from .Net framework 4.5 to .Net 5.0. For secure login purpose, we are using jwt tokens using System.IdentityModel and System.IdentityModel.Tokens.Jwt in existing project.
After porting to .Net 5.0, we observed that System.IdentityModel.Tokens.Jwt nuget is available in .Net 5.0. However, we did not find System.IdentityModel or equivalent nuget in .Net 5.0. Due to which, below piece of code is not working. 'InMemorySymmetricSecurityKey' class is marked as unrecognized.
InMemorySymmetricSecurityKey signingKey = new InMemorySymmetricSecurityKey(Encoding.UTF8.GetBytes(securityKey));
Can you please guide me which equivalent IdentityModel should be used for System.IdentityModel?