Recommend CookieBuilder.HttpOnly instead of CookieBuilder.SameSite (#1366)

This commit is contained in:
Scott Addie 2017-08-14 13:06:32 -05:00 committed by Nate McMaster
parent 43db99a568
commit b43ffc4acc
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ namespace Microsoft.AspNetCore.Authentication.Cookies
/// to script on the page.
/// </para>
/// </summary>
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is " + nameof(Cookie) + "." + nameof(CookieBuilder.SameSite) + ".")]
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is " + nameof(Cookie) + "." + nameof(CookieBuilder.HttpOnly) + ".")]
public bool CookieHttpOnly { get => Cookie.HttpOnly; set => Cookie.HttpOnly = value; }
/// <summary>