Condividi tramite


OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Metodo

Definizione

Overload

UseOpenIdConnectAuthentication(IApplicationBuilder)
Obsoleti.
Obsoleti.

UseOpenIdConnectAuthentication è obsoleto. Configurare l'autenticazione OpenIdConnect con AddAuthentication(). AddOpenIdConnect in ConfigureServices. Per informazioni dettagliate, vedere https://go.microsoft.com/fwlink/?linkid=845470.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
Obsoleti.
Obsoleti.

UseOpenIdConnectAuthentication è obsoleto. Configurare l'autenticazione OpenIdConnect con AddAuthentication(). AddOpenIdConnect in ConfigureServices. Per informazioni dettagliate, vedere https://go.microsoft.com/fwlink/?linkid=845470.

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Aggiunge il middleware all'oggetto OpenIdConnectMiddleware specificato IApplicationBuilder, che abilita le funzionalità di autenticazione openID Connect.

UseOpenIdConnectAuthentication(IApplicationBuilder)

Origine:
OpenIdConnectAppBuilderExtensions.cs
Origine:
OpenIdConnectAppBuilderExtensions.cs

Attenzione

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

UseOpenIdConnectAuthentication è obsoleto. Configurare l'autenticazione OpenIdConnect con AddAuthentication(). AddOpenIdConnect in ConfigureServices. Per informazioni dettagliate, vedere 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

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder da aggiungere al gestore.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Attributi

Si applica a

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Origine:
OpenIdConnectAppBuilderExtensions.cs
Origine:
OpenIdConnectAppBuilderExtensions.cs

Attenzione

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

UseOpenIdConnectAuthentication è obsoleto. Configurare l'autenticazione OpenIdConnect con AddAuthentication(). AddOpenIdConnect in ConfigureServices. Per informazioni dettagliate, vedere 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

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder da aggiungere al gestore.

options
OpenIdConnectOptions

Oggetto OpenIdConnectOptions che specifica le opzioni per il gestore.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Attributi

Si applica a

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

Aggiunge il middleware all'oggetto OpenIdConnectMiddleware specificato IApplicationBuilder, che abilita le funzionalità di autenticazione 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

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder da aggiungere al middleware.

options
OpenIdConnectOptions

Oggetto OpenIdConnectOptions che specifica le opzioni per il middleware.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a