Partager via


OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Méthode

Définition

Surcharges

UseOpenIdConnectAuthentication(IApplicationBuilder)
Obsolète.
Obsolète.

UseOpenIdConnectAuthentication est obsolète. Configurez l’authentification OpenIdConnect avec AddAuthentication(). AddOpenIdConnect dans ConfigureServices. Pour plus d’informations, consultez https://go.microsoft.com/fwlink/?linkid=845470.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
Obsolète.
Obsolète.

UseOpenIdConnectAuthentication est obsolète. Configurez l’authentification OpenIdConnect avec AddAuthentication(). AddOpenIdConnect dans ConfigureServices. Pour plus d’informations, consultez https://go.microsoft.com/fwlink/?linkid=845470.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Ajoute le middleware OpenIdConnectMiddleware au IApplicationBuilderspécifié, qui active les fonctionnalités d’authentification OpenID Connect.

UseOpenIdConnectAuthentication(IApplicationBuilder)

Source:
OpenIdConnectAppBuilderExtensions.cs
Source:
OpenIdConnectAppBuilderExtensions.cs

Attention

UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseOpenIdConnectAuthentication est obsolète. Configurez l’authentification OpenIdConnect avec AddAuthentication(). AddOpenIdConnect dans ConfigureServices. Pour plus d’informations, consultez https://go.microsoft.com/fwlink/?linkid=845470.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOpenIdConnectAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOpenIdConnectAuthentication (app As IApplicationBuilder) As IApplicationBuilder

Paramètres

app
IApplicationBuilder

La IApplicationBuilder à laquelle ajouter le gestionnaire.

Retours

Référence à cette instance une fois l’opération terminée.

Attributs

S’applique à

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Source:
OpenIdConnectAppBuilderExtensions.cs
Source:
OpenIdConnectAppBuilderExtensions.cs

Attention

UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseOpenIdConnectAuthentication est obsolète. Configurez l’authentification OpenIdConnect avec AddAuthentication(). AddOpenIdConnect dans ConfigureServices. Pour plus d’informations, consultez https://go.microsoft.com/fwlink/?linkid=845470.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOpenIdConnectAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options);
[System.Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOpenIdConnectAuthentication (app As IApplicationBuilder, options As OpenIdConnectOptions) As IApplicationBuilder

Paramètres

app
IApplicationBuilder

La IApplicationBuilder à laquelle ajouter le gestionnaire.

options
OpenIdConnectOptions

OpenIdConnectOptions qui spécifie les options du gestionnaire.

Retours

Référence à cette instance une fois l’opération terminée.

Attributs

S’applique à

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Ajoute le middleware OpenIdConnectMiddleware au IApplicationBuilderspécifié, qui active les fonctionnalités d’authentification OpenID Connect.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOpenIdConnectAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::OpenIdConnectOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOpenIdConnectAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.OpenIdConnectOptions options);
static member UseOpenIdConnectAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.OpenIdConnectOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOpenIdConnectAuthentication (app As IApplicationBuilder, options As OpenIdConnectOptions) As IApplicationBuilder

Paramètres

app
IApplicationBuilder

La IApplicationBuilder à laquelle ajouter le middleware.

options
OpenIdConnectOptions

OpenIdConnectOptions qui spécifie les options du middleware.

Retours

Référence à cette instance une fois l’opération terminée.

S’applique à