Поделиться через


HttpContext.Authentication Свойство

Определение

Внимание!

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.

Эта версия устарела и будет удалена в следующей версии. Рекомендуется использовать Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions. См. раздел https://go.microsoft.com/fwlink/?linkid=845470.

public:
 abstract property Microsoft::AspNetCore::Http::Authentication::AuthenticationManager ^ Authentication { Microsoft::AspNetCore::Http::Authentication::AuthenticationManager ^ get(); };
public abstract Microsoft.AspNetCore.Http.Authentication.AuthenticationManager Authentication { get; }
[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; }
member this.Authentication : Microsoft.AspNetCore.Http.Authentication.AuthenticationManager
[<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.")>]
member this.Authentication : Microsoft.AspNetCore.Http.Authentication.AuthenticationManager
Public MustOverride ReadOnly Property Authentication As AuthenticationManager

Значение свойства

Атрибуты

Применяется к