Ler em inglês

Partilhar via


HttpContext.Authentication Propriedade

Definição

Cuidado

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.

Isso está obsoleto e será removido em uma versão futura. A alternativa recomendada é usar Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions. Consulte 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; }

Valor da propriedade

Atributos

Aplica-se a

Produto Versões (Obsoleto)
ASP.NET Core 1.0, 1.1 (2.0, 2.1, 2.2)