BuilderExtensions.UseIdentity(IApplicationBuilder) BuilderExtensions.UseIdentity(IApplicationBuilder) BuilderExtensions.UseIdentity(IApplicationBuilder) Method

Definition

Warning

This API is now obsolete.

This method is obsolete and will be removed in a future version. The recommended alternative is UseAuthentication(IApplicationBuilder)

Enables ASP.NET identity for the current application.

[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is UseAuthentication(). See https://go.microsoft.com/fwlink/?linkid=845470")]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseIdentity (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseIdentity : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseIdentity (app As IApplicationBuilder) As IApplicationBuilder
Parameters
Returns

Applies to