Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit 375f3c8

Browse files
author
Nate McMaster
committed
Remove CookieAuthenticationOptions.CookieSameSite which was never shipped as an RTM api
1 parent c36c94d commit 375f3c8

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/Microsoft.AspNetCore.Authentication.Cookies/CookieAuthenticationOptions.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -176,19 +176,6 @@ public CookieBuilder Cookie
176176
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is " + nameof(Cookie) + "." + nameof(CookieBuilder.Path) + ".")]
177177
public string CookiePath { get => Cookie.Path; set => Cookie.Path = value; }
178178

179-
/// <summary>
180-
/// <para>
181-
/// This property is obsolete and will be removed in a future version. The recommended alternative is <seealso cref="CookieBuilder.SameSite"/> on <see cref="Cookie"/>.
182-
/// </para>
183-
/// <para>
184-
/// Determines if the browser should allow the cookie to be attached to same-site or cross-site requests. The
185-
/// default is Lax, which means the cookie is only allowed to be attached to cross-site requests using safe
186-
/// HTTP methods and same-site requests.
187-
/// </para>
188-
/// </summary>
189-
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is " + nameof(Cookie) + "." + nameof(CookieBuilder.SameSite) + ".")]
190-
public SameSiteMode CookieSameSite { get => Cookie.SameSite; set => Cookie.SameSite = value; }
191-
192179
/// <summary>
193180
/// <para>
194181
/// This property is obsolete and will be removed in a future version. The recommended alternative is <seealso cref="CookieBuilder.HttpOnly"/> on <see cref="Cookie"/>.

0 commit comments

Comments
 (0)