英語で読む

次の方法で共有


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

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; }

プロパティ値

属性

適用対象

製品 バージョン (廃止)
ASP.NET Core 1.0, 1.1 (2.0, 2.1, 2.2)