V17 - Removing obsoleted code from Umbraco.Web (#19983)

* Removing obsoleted code from AspNetCoreCookieManager.cs & Dependencies

* Removing obosoleted code from AspNetCoreBackOfficeInfo.cs

* Removing obosoleted code from PublishedContentExtensions.cs

* Removing obosoleted code from UmbracoMvcConfigureOptions.cs

* Removing obosoleted code from UmbracoVirtualPageRoute.cs

* Removing obsoleted constructor from BasicAuthenticationMiddleware.cs

* Removing obsoleted constructors from UmbLoginController.cs

* Removing unused constructor
This commit is contained in:
Nicklas Kramer
2025-08-26 12:54:03 +02:00
committed by GitHub
parent 07abec239d
commit 156bcdc98a
8 changed files with 1 additions and 152 deletions

View File

@@ -41,11 +41,6 @@ public class AspNetCoreCookieManager : ICookieManager
/// <inheritdoc/>
public string? GetCookieValue(string cookieName) => _httpContextAccessor.HttpContext?.Request.Cookies[cookieName];
/// <inheritdoc/>
[Obsolete("Use overload with the secure and sameSiteMode parameters instead. Scheduled for removal in V17.")]
public void SetCookieValue(string cookieName, string value, bool httpOnly) =>
SetCookieValue(cookieName, value, httpOnly, false, SameSiteMode.Unspecified.ToString());
/// <inheritdoc/>
public void SetCookieValue(string cookieName, string value, bool httpOnly, bool secure, string sameSiteMode)
{