Sdílet prostřednictvím


DefaultHttpContext.Authentication Vlastnost

Definice

Upozornění

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.

Tato verze je zastaralá a v budoucí verzi se odebere. Doporučenou alternativou je použít Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions. Viz třída 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

Hodnota vlastnosti

Atributy

Platí pro