diff --git a/guide/migration/20-to-30.html b/guide/migration/20-to-30.html index c5a52b2..0d7462c 100644 --- a/guide/migration/20-to-30.html +++ b/guide/migration/20-to-30.html @@ -186,7 +186,8 @@ was replaced by 2 separate methods. If your application depends on request cachi });
System.Text.Json
If you use JSON.NET to serialize or deserialize OpenIdConnectMessage
, OpenIdConnectRequest
or OpenIdConnectResponse
instances,
-consider moving to System.Text.Json
when migrating to OpenIddict 3.0, as 3.0 no longer includes a built-in JSON.NET JsonConverter
for these types.
System.Text.Json
when migrating to OpenIddict 3.0, as 3.0 no longer includes a built-in JSON.NET JsonConverter
for their
+equivalent in 3.0: OpenIddictMessage
, OpenIddictRequest
or OpenIddictResponse
.
In most cases, this should be as simple as replacing JsonConvert.SerializeObject()
/JsonConvert.DeserializeObject()
by their System.Text.Json
equivalent: JsonSerializer.Serialize()
/JsonSerializer.Deserialize()
.
AuthenticationTicket
extensions by their new ClaimsPrincipal
equivalent: