OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Metoda

Definice

Přetížení

UseOpenIdConnectAuthentication(IApplicationBuilder)
Zastaralé.
Zastaralé.

UseOpenIdConnectAuthentication je zastaralá. Nakonfigurujte ověřování OpenIdConnect pomocí AddAuthentication (). AddOpenIdConnect v ConfigureServices. Další podrobnosti najdete v tématu https://go.microsoft.com/fwlink/?linkid=845470 .

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

UseOpenIdConnectAuthentication je zastaralá. Nakonfigurujte ověřování OpenIdConnect pomocí AddAuthentication (). AddOpenIdConnect v ConfigureServices. Další podrobnosti najdete v tématu https://go.microsoft.com/fwlink/?linkid=845470 .

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Přidá OpenIdConnectMiddleware middleware do určeného IApplicationBuilder , který povolí možnosti ověřování OpenID Connect.

UseOpenIdConnectAuthentication(IApplicationBuilder)

Upozornění

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

UseOpenIdConnectAuthentication je zastaralá. Nakonfigurujte ověřování OpenIdConnect pomocí AddAuthentication (). AddOpenIdConnect v ConfigureServices. Další podrobnosti najdete v tématu 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

IApplicationBuilderPřidejte obslužnou rutinu do.

Návraty

IApplicationBuilder

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Upozornění

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

UseOpenIdConnectAuthentication je zastaralá. Nakonfigurujte ověřování OpenIdConnect pomocí AddAuthentication (). AddOpenIdConnect v ConfigureServices. Další podrobnosti najdete v tématu 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

IApplicationBuilderPřidejte obslužnou rutinu do.

options
OpenIdConnectOptions

A OpenIdConnectOptions který určuje možnosti pro obslužnou rutinu.

Návraty

IApplicationBuilder

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Přidá OpenIdConnectMiddleware middleware do určeného IApplicationBuilder , který povolí 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

IApplicationBuilderPřidejte middleware do.

options
OpenIdConnectOptions

A OpenIdConnectOptions který určuje možnosti pro middleware.

Návraty

IApplicationBuilder

Odkaz na tuto instanci po dokončení operace.

Platí pro