OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
UseOpenIdConnectAuthentication(IApplicationBuilder) |
Zastaralé.
Zastaralé.
UseOpenIdConnectAuthentication je zastaralá. Nakonfigurujte ověřování OpenIdConnect pomocí addAuthentication(). AddOpenIdConnect v configureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu . |
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) |
Zastaralé.
Zastaralé.
UseOpenIdConnectAuthentication je zastaralá. Nakonfigurujte ověřování OpenIdConnect pomocí addAuthentication(). AddOpenIdConnect v configureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu . |
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) |
OpenIdConnectMiddleware Přidá middleware do zadaného IApplicationBuilderobjektu , který povolí možnosti ověřování OpenID Connect. |
UseOpenIdConnectAuthentication(IApplicationBuilder)
Upozornění
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 https://go.microsoft.com/fwlink/?linkid=845470 v tématu .
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
Chcete-li IApplicationBuilder přidat obslužnou rutinu do.
Návraty
Odkaz na tuto instanci po dokončení operace.
- Atributy
Platí pro
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
Upozornění
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 https://go.microsoft.com/fwlink/?linkid=845470 v tématu .
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
Chcete-li IApplicationBuilder přidat obslužnou rutinu do.
- options
- OpenIdConnectOptions
A OpenIdConnectOptions , který určuje možnosti pro obslužnou rutinu.
Návraty
Odkaz na tuto instanci po dokončení operace.
- Atributy
Platí pro
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
OpenIdConnectMiddleware Přidá middleware do zadaného IApplicationBuilderobjektu , 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
K IApplicationBuilder přidání middlewaru.
- options
- OpenIdConnectOptions
A OpenIdConnectOptions , který určuje možnosti pro middleware.
Návraty
Odkaz na tuto instanci po dokončení operace.