OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
UseOpenIdConnectAuthentication(IApplicationBuilder) |
Geçersiz.
Geçersiz.
UseOpenIdConnectAuthentication kullanımdan kaldırıldı. AddAuthentication() ile OpenIdConnect kimlik doğrulamasını yapılandırın. ConfigureServices'te AddOpenIdConnect. Diğer ayrıntılar için bkz https://go.microsoft.com/fwlink/?linkid=845470 . |
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) |
Geçersiz.
Geçersiz.
UseOpenIdConnectAuthentication kullanımdan kaldırıldı. AddAuthentication() ile OpenIdConnect kimlik doğrulamasını yapılandırın. ConfigureServices'te AddOpenIdConnect. Diğer ayrıntılar için bkz https://go.microsoft.com/fwlink/?linkid=845470 . |
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions) |
OpenIdConnectMiddleware Ara yazılımı, OpenID Connect kimlik doğrulama özelliklerini etkinleştiren belirtilen IApplicationBuilderöğesine ekler. |
UseOpenIdConnectAuthentication(IApplicationBuilder)
Dikkat
UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseOpenIdConnectAuthentication kullanımdan kaldırıldı. AddAuthentication() ile OpenIdConnect kimlik doğrulamasını yapılandırın. ConfigureServices'te AddOpenIdConnect. Diğer ayrıntılar için bkz 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
Parametreler
IApplicationBuilder İşleyicinin ekleneceği yer.
Döndürülenler
İşlem tamamlandıktan sonra bu örneğe başvuru.
- Öznitelikler
Şunlara uygulanır
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
Dikkat
UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseOpenIdConnectAuthentication kullanımdan kaldırıldı. AddAuthentication() ile OpenIdConnect kimlik doğrulamasını yapılandırın. ConfigureServices'te AddOpenIdConnect. Diğer ayrıntılar için bkz 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
Parametreler
IApplicationBuilder İşleyicinin ekleneceği yer.
- options
- OpenIdConnectOptions
OpenIdConnectOptions İşleyici için seçenekleri belirten bir.
Döndürülenler
İşlem tamamlandıktan sonra bu örneğe başvuru.
- Öznitelikler
Şunlara uygulanır
UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
OpenIdConnectMiddleware Ara yazılımı, OpenID Connect kimlik doğrulama özelliklerini etkinleştiren belirtilen IApplicationBuilderöğesine ekler.
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
Parametreler
IApplicationBuilder Ara yazılımı eklemek için.
- options
- OpenIdConnectOptions
OpenIdConnectOptions Ara yazılım seçeneklerini belirten bir.
Döndürülenler
İşlem tamamlandıktan sonra bu örneğe başvuru.