HttpContext.Authentication Propriété

Définition

Attention

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.

Ce paramètre est obsolète et sera supprimé dans une version ultérieure. L’alternative recommandée consiste à utiliser Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions. Consultez 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; }

Valeur de propriété

Attributs

S’applique à

Produit Versions (Obsolète)
ASP.NET Core 1.0, 1.1 (2.0, 2.1, 2.2)