CookieAuthenticationOptions.CookieHttpOnly Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Precaución
This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.SameSite.
Precaución
This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.HttpOnly.
Esta propiedad está obsoleta y se quitará en una versión futura. La alternativa recomendada es en Cookie.
Determina si el explorador debe permitir que el javascript del lado cliente acceda a la cookie. El valor predeterminado es true, lo que significa que la cookie solo se pasará a solicitudes http y no estará disponible para el script de la página.
public:
property bool CookieHttpOnly { bool get(); void set(bool value); };
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.SameSite.")]
public bool CookieHttpOnly { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.HttpOnly.")]
public bool CookieHttpOnly { get; set; }
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.SameSite.")>]
member this.CookieHttpOnly : bool with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.HttpOnly.")>]
member this.CookieHttpOnly : bool with get, set
Public Property CookieHttpOnly As Boolean
Valor de propiedad
- Atributos