CookiePolicyOptions.HttpOnly 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
影响 Cookie 是否必须为 HttpOnly。
public:
property Microsoft::AspNetCore::CookiePolicy::HttpOnlyPolicy HttpOnly { Microsoft::AspNetCore::CookiePolicy::HttpOnlyPolicy get(); void set(Microsoft::AspNetCore::CookiePolicy::HttpOnlyPolicy value); };
public Microsoft.AspNetCore.CookiePolicy.HttpOnlyPolicy HttpOnly { get; set; }
member this.HttpOnly : Microsoft.AspNetCore.CookiePolicy.HttpOnlyPolicy with get, set
Public Property HttpOnly As HttpOnlyPolicy