Share via


DefaultHttpContext.Authentication Properti

Definisi

Perhatian

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.

Ini usang dan akan dihapus dalam versi mendatang. Alternatif yang disarankan adalah menggunakan Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions. Lihat https://go.microsoft.com/fwlink/?linkid=845470.

public:
 virtual property Microsoft::AspNetCore::Http::Authentication::AuthenticationManager ^ Authentication { Microsoft::AspNetCore::Http::Authentication::AuthenticationManager ^ get(); };
public override 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 override 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 Overrides ReadOnly Property Authentication As AuthenticationManager

Nilai Properti

Atribut

Berlaku untuk