Sdílet prostřednictvím


OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Metoda

Definice

Přetížení

UseOpenIdConnectAuthentication(IApplicationBuilder)
Zastaralé.
Zastaralé.

PoužitíOpenIdConnectAuthentication je zastaralé. Konfigurace ověřování OpenIdConnect pomocí AddAuthentication(). AddOpenIdConnect v ConfigureServices. Další podrobnosti najdete v https://go.microsoft.com/fwlink/?linkid=845470.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
Zastaralé.
Zastaralé.

PoužitíOpenIdConnectAuthentication je zastaralé. Konfigurace ověřování OpenIdConnect pomocí AddAuthentication(). AddOpenIdConnect v ConfigureServices. Další podrobnosti najdete v https://go.microsoft.com/fwlink/?linkid=845470.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Přidá OpenIdConnectMiddleware middleware do zadaného IApplicationBuilder, který umožňuje možnosti ověřování OpenID Connect.

UseOpenIdConnectAuthentication(IApplicationBuilder)

Zdroj:
OpenIdConnectAppBuilderExtensions.cs
Zdroj:
OpenIdConnectAppBuilderExtensions.cs

Upozornění

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

PoužitíOpenIdConnectAuthentication je zastaralé. Konfigurace ověřování OpenIdConnect pomocí AddAuthentication(). AddOpenIdConnect v ConfigureServices. Další podrobnosti najdete v 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

Parametry

app
IApplicationBuilder

IApplicationBuilder pro přidání obslužné rutiny.

Návraty

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Zdroj:
OpenIdConnectAppBuilderExtensions.cs
Zdroj:
OpenIdConnectAppBuilderExtensions.cs

Upozornění

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

PoužitíOpenIdConnectAuthentication je zastaralé. Konfigurace ověřování OpenIdConnect pomocí AddAuthentication(). AddOpenIdConnect v ConfigureServices. Další podrobnosti najdete v 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

Parametry

app
IApplicationBuilder

IApplicationBuilder pro přidání obslužné rutiny.

options
OpenIdConnectOptions

OpenIdConnectOptions, která určuje možnosti obslužné rutiny.

Návraty

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Přidá OpenIdConnectMiddleware middleware do zadaného IApplicationBuilder, který umožňuje možnosti ověřování 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

Parametry

app
IApplicationBuilder

IApplicationBuilder pro přidání middlewaru.

options
OpenIdConnectOptions

OpenIdConnectOptions, která určuje možnosti middlewaru.

Návraty

Odkaz na tuto instanci po dokončení operace.

Platí pro