I have used the Nuget package & version as Microsoft.IdentityModel.Clients.ActiveDirectory (v. 5.2.7 - latest stable). It gives the error The type or namespace name "UserpasswordCredential" could not be found.
Any help on this much appreciated.
Thanks,
Raghavendra