CookieAuthenticationOptions.CookieName Vlastnost

Definice

Upozornění

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

Upozornění

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

Tato vlastnost je zastaralá a bude odebrána v budoucí verzi. Doporučená alternativa je na Cookie.

Určuje název souboru cookie použitý k zachování identity. Výchozí hodnota je ". AspNetCore.Cookies" Tato hodnota by se měla změnit, pokud změníte název authenticationScheme, zejména pokud váš systém používá obslužnou rutinu ověřování cookie několikrát.

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

Hodnota vlastnosti

String
Atributy

Platí pro