Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

.net6 - OAuthCreatingTicketContext, JObject still not replaced by JsonElement, despite replacement?

$
0
0

Based on the OAuthCreatingTicketContext source code on GitHub, the last initializer argument is a JsonElement.

This has been replaced on 5th of February 2019 as stated in following linked-commit.

Replace JObject with JsonDocument in Authentication (#7105)

And as per Pull Request #7105:

Replace JObject with JsonDocument in Authentication

Nothing tells me that it's been rejected and rather say it's been merged.

So why is it that in my project in .Net 6 I'm still stuck with Newtonsoft and its JObject?

cannot convert from JsonElement to JObject

How can I get the replaced version using JsonElement?

Because I just added the package Microsoft.AspNetCore.Authentication.OAuth (2.2.0) from the Nuget Package Manager within VS2022, and this is the version of OAuthCreatingTicketContext I got.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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