OAuthAppBuilderExtensions.UseOAuthAuthentication 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
UseOAuthAuthentication(IApplicationBuilder) |
Geçersiz.
Geçersiz.
UseOAuthAuthentication kullanımdan kaldırıldı. AddAuthentication() ile OAuth kimlik doğrulamasını yapılandırın. ConfigureServices'te AddOAuth. Daha fazla bilgi için bkz. https://go.microsoft.com/fwlink/?linkid=845470. |
UseOAuthAuthentication(IApplicationBuilder, OAuthOptions) |
Geçersiz.
Geçersiz.
UseOAuthAuthentication kullanımdan kaldırıldı. AddAuthentication() ile OAuth kimlik doğrulamasını yapılandırın. ConfigureServices'te AddOAuth. Daha fazla bilgi için bkz. https://go.microsoft.com/fwlink/?linkid=845470. |
UseOAuthAuthentication(IApplicationBuilder, OAuthOptions) |
OAuthMiddleware<TOptions> ara yazılımını, OAuth 2.0 kimlik doğrulama özelliklerini etkinleştiren belirtilen IApplicationBuilderekler. |
UseOAuthAuthentication(IApplicationBuilder)
- Kaynak:
- OAuthAppBuilderExtensions.cs
- Kaynak:
- OAuthAppBuilderExtensions.cs
Dikkat
UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseOAuthAuthentication kullanımdan kaldırıldı. AddAuthentication() ile OAuth kimlik doğrulamasını yapılandırın. ConfigureServices'te AddOAuth. Daha fazla bilgi için bkz. https://go.microsoft.com/fwlink/?linkid=845470.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOAuthAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOAuthAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOAuthAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOAuthAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseOAuthAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseOAuthAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseOAuthAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOAuthAuthentication (app As IApplicationBuilder) As IApplicationBuilder
Parametreler
İşleyicinin ekleneceği IApplicationBuilder.
Döndürülenler
İşlem tamamlandıktan sonra bu örneğe başvuru.
- Öznitelikler
Şunlara uygulanır
UseOAuthAuthentication(IApplicationBuilder, OAuthOptions)
- Kaynak:
- OAuthAppBuilderExtensions.cs
- Kaynak:
- OAuthAppBuilderExtensions.cs
Dikkat
UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseOAuthAuthentication kullanımdan kaldırıldı. AddAuthentication() ile OAuth kimlik doğrulamasını yapılandırın. ConfigureServices'te AddOAuth. Daha fazla bilgi için bkz. https://go.microsoft.com/fwlink/?linkid=845470.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOAuthAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::OAuth::OAuthOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOAuthAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions options);
[System.Obsolete("UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOAuthAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions options);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseOAuthAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseOAuthAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOAuthAuthentication (app As IApplicationBuilder, options As OAuthOptions) As IApplicationBuilder
Parametreler
İşleyicinin ekleneceği IApplicationBuilder.
- options
- OAuthOptions
İşleyici için seçenekleri belirten bir OAuthOptions.
Döndürülenler
İşlem tamamlandıktan sonra bu örneğe başvuru.
- Öznitelikler
Şunlara uygulanır
UseOAuthAuthentication(IApplicationBuilder, OAuthOptions)
OAuthMiddleware<TOptions> ara yazılımını, OAuth 2.0 kimlik doğrulama özelliklerini etkinleştiren belirtilen IApplicationBuilderekler.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOAuthAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::OAuthOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOAuthAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.OAuthOptions options);
static member UseOAuthAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.OAuthOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOAuthAuthentication (app As IApplicationBuilder, options As OAuthOptions) As IApplicationBuilder
Parametreler
Ara yazılımı eklemek için IApplicationBuilder.
- options
- OAuthOptions
Ara yazılım seçeneklerini belirten bir OAuthOptions.
Döndürülenler
İşlem tamamlandıktan sonra bu örneğe başvuru.