Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HttpContext.Authentication Property

Definition

Namespace:
Microsoft.AspNetCore.Http
Assembly:
Microsoft.AspNetCore.Http.Abstractions.dll
Package:
Microsoft.AspNetCore.Http.Abstractions v1.0.0
Package:
Microsoft.AspNetCore.Http.Abstractions v1.1.0
Package:
Microsoft.AspNetCore.Http.Abstractions v2.0.0
Package:
Microsoft.AspNetCore.Http.Abstractions v2.1.0
Package:
Microsoft.AspNetCore.Http.Abstractions v2.2.0

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Caution

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.

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

Property Value

Attributes

Applies to


Feedback

Was this page helpful?