BuilderExtensions.UseIdentity(IApplicationBuilder) Méthode

Définition

Attention

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

Cette méthode est obsolète et sera supprimée dans une version ultérieure. L’alternative recommandée est UseAuthentication(IApplicationBuilder)

Active ASP.NET identité pour l’application actuelle.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseIdentity(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseIdentity (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[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
[<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")>]
static member UseIdentity : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseIdentity (app As IApplicationBuilder) As IApplicationBuilder

Paramètres

app
IApplicationBuilder

La IApplicationBuilder instance cette méthode s’étend.

Retours

La IApplicationBuilder instance cette méthode s’étend.

Attributs

S’applique à