Partager via


CookiePolicyOptions.HttpOnly Propriété

Définition

Affecte si les cookies doivent être 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

Valeur de propriété

S’applique à