OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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)
Attention
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
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)
Attention
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
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
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.