Share via


CookiePolicyOptions.HttpOnly Property

Definition

Affects whether cookies must be 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

Property Value

Applies to