HttpContext.Authentication Proprietà

Definizione

Attenzione

This is obsolete and will be removed in a future version. The recommended alternative is to use Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions. See https://go.microsoft.com/fwlink/?linkid=845470.

Questa operazione è obsoleta e verrà rimossa in una versione futura. L'alternativa consigliata consiste nell'usare Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions. Vedere https://go.microsoft.com/fwlink/?linkid=845470.

C#
public abstract Microsoft.AspNetCore.Http.Authentication.AuthenticationManager Authentication { get; }
C#
[System.Obsolete("This is obsolete and will be removed in a future version. The recommended alternative is to use Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions. See https://go.microsoft.com/fwlink/?linkid=845470.")]
public abstract Microsoft.AspNetCore.Http.Authentication.AuthenticationManager Authentication { get; }

Valore della proprietà

Attributi

Si applica a

Prodotto Versioni (obsoleto)
ASP.NET Core 1.0, 1.1 (2.0, 2.1, 2.2)