CookieAuthenticationOptions.CookieHttpOnly プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.SameSite.
注意事項
This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.HttpOnly.
このプロパティは廃止され、今後のバージョンで削除される予定です。 推奨される代替方法は、<seealso cref="P:Microsoft です。AspNetCore.Http.CookieBuilder.HttpOnly"></seealso> on Cookie。
ブラウザーで、クライアント側の javascript による Cookie へのアクセスを許可するかどうかを決定します。 既定値は true です。つまり、Cookie は http 要求にのみ渡され、ページ上のスクリプトでは使用できません。
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
プロパティ値
- 属性