Udostępnij za pośrednictwem


OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Metoda

Definicja

Przeciążenia

UseOpenIdConnectAuthentication(IApplicationBuilder)
Przestarzałe.
Przestarzałe.

UseOpenIdConnectAuthentication jest przestarzałe. Konfigurowanie uwierzytelniania OpenIdConnect za pomocą polecenia AddAuthentication(). AddOpenIdConnect w elemencie ConfigureServices. Aby uzyskać więcej informacji, zobacz https://go.microsoft.com/fwlink/?linkid=845470 .

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
Przestarzałe.
Przestarzałe.

UseOpenIdConnectAuthentication jest przestarzałe. Konfigurowanie uwierzytelniania OpenIdConnect za pomocą polecenia AddAuthentication(). AddOpenIdConnect w elemencie ConfigureServices. Aby uzyskać więcej informacji, zobacz https://go.microsoft.com/fwlink/?linkid=845470 .

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

OpenIdConnectMiddleware Dodaje oprogramowanie pośredniczące do określonego IApplicationBuilderelementu , które włącza funkcje uwierzytelniania OpenID Connect.

UseOpenIdConnectAuthentication(IApplicationBuilder)

Źródło:
OpenIdConnectAppBuilderExtensions.cs
Źródło:
OpenIdConnectAppBuilderExtensions.cs

Przestroga

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

UseOpenIdConnectAuthentication jest przestarzałe. Konfigurowanie uwierzytelniania OpenIdConnect za pomocą polecenia AddAuthentication(). AddOpenIdConnect w elemencie ConfigureServices. Aby uzyskać więcej informacji, zobacz 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

Element IApplicationBuilder do dodania programu obsługi.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Atrybuty

Dotyczy

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Źródło:
OpenIdConnectAppBuilderExtensions.cs
Źródło:
OpenIdConnectAppBuilderExtensions.cs

Przestroga

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

UseOpenIdConnectAuthentication jest przestarzałe. Konfigurowanie uwierzytelniania OpenIdConnect za pomocą polecenia AddAuthentication(). AddOpenIdConnect w elemencie ConfigureServices. Aby uzyskać więcej informacji, zobacz 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

Element IApplicationBuilder do dodania programu obsługi.

options
OpenIdConnectOptions

Element OpenIdConnectOptions określający opcje programu obsługi.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Atrybuty

Dotyczy

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

OpenIdConnectMiddleware Dodaje oprogramowanie pośredniczące do określonego IApplicationBuilderelementu , które włącza funkcje uwierzytelniania 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

Element IApplicationBuilder do dodania oprogramowania pośredniczącego.

options
OpenIdConnectOptions

Element OpenIdConnectOptions określający opcje oprogramowania pośredniczącego.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Dotyczy