次の方法で共有


CookieAuthenticationOptions.CookieName プロパティ

定義

注意事項

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.

注意事項

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Name.

このプロパティは互換性のために残されていますが、今後のバージョンでは削除される予定です。 推奨される代替手段は、 にあります Cookie

ID を保持するために使用する Cookie 名を決定します。 既定値は です。AspNetCore.Cookies" この値は、AuthenticationScheme の名前を変更する場合に変更する必要があります。特に、システムで Cookie 認証ハンドラーが複数回使用されている場合です。

public:
 property System::String ^ CookieName { System::String ^ get(); void set(System::String ^ value); };
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")]
public string CookieName { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Name.")]
public string CookieName { get; set; }
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")>]
member this.CookieName : string with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Name.")>]
member this.CookieName : string with get, set
Public Property CookieName As String

プロパティ値

属性

適用対象