Compartir a través de


CookieAuthenticationOptions.CookieName Propiedad

Definición

Precaución

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

Precaución

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

Esta propiedad está obsoleta y se quitará en una versión futura. La alternativa recomendada es en Cookie.

Determina el nombre de la cookie usado para persistir la identidad. El valor predeterminado es ". AspNetCore.Cookies". Este valor debe cambiarse si cambia el nombre de AuthenticationScheme, especialmente si el sistema usa el controlador de autenticación de cookies varias veces.

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

Valor de propiedad

Atributos

Se aplica a