TwitterAppBuilderExtensions.UseTwitterAuthentication Yöntem

Tanım

Aşırı Yüklemeler

UseTwitterAuthentication(IApplicationBuilder)
Geçersiz.
Geçersiz.

UseTwitterAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Twitter kimlik doğrulamasını yapılandırın. ConfigureServices'te AddTwitter. Diğer ayrıntılar için bkz https://go.microsoft.com/fwlink/?linkid=845470 .

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)
Geçersiz.
Geçersiz.

UseTwitterAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Twitter kimlik doğrulamasını yapılandırın. ConfigureServices'te AddTwitter. Diğer ayrıntılar için bkz https://go.microsoft.com/fwlink/?linkid=845470 .

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

TwitterMiddleware Ara yazılımı, Twitter kimlik doğrulaması özelliklerini etkinleştiren belirtilen IApplicationBuilderöğesine ekler.

UseTwitterAuthentication(IApplicationBuilder)

Kaynak:
TwitterAppBuilderExtensions.cs
Kaynak:
TwitterAppBuilderExtensions.cs

Dikkat

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

UseTwitterAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Twitter kimlik doğrulamasını yapılandırın. ConfigureServices'te AddTwitter. 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 ^ UseTwitterAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseTwitterAuthentication (app As IApplicationBuilder) As IApplicationBuilder

Parametreler

app
IApplicationBuilder

IApplicationBuilder İşleyicinin ekleneceği.

Döndürülenler

İşlem tamamlandıktan sonra bu örneğe başvuru.

Öznitelikler

Şunlara uygulanır

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Kaynak:
TwitterAppBuilderExtensions.cs
Kaynak:
TwitterAppBuilderExtensions.cs

Dikkat

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

UseTwitterAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Twitter kimlik doğrulamasını yapılandırın. ConfigureServices'te AddTwitter. 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 ^ UseTwitterAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::Twitter::TwitterOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions options);
[System.Obsolete("UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions options);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseTwitterAuthentication (app As IApplicationBuilder, options As TwitterOptions) As IApplicationBuilder

Parametreler

app
IApplicationBuilder

IApplicationBuilder İşleyicinin ekleneceği.

options
TwitterOptions

Sağlanan TwitterOptionsöğesini yapılandırmak için bir eylem temsilcisi.

Döndürülenler

İşlem tamamlandıktan sonra bu örneğe başvuru.

Öznitelikler

Şunlara uygulanır

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

TwitterMiddleware Ara yazılımı, Twitter kimlik doğrulaması özelliklerini etkinleştiren belirtilen IApplicationBuilderöğesine ekler.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseTwitterAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::TwitterOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.TwitterOptions options);
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.TwitterOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseTwitterAuthentication (app As IApplicationBuilder, options As TwitterOptions) As IApplicationBuilder

Parametreler

app
IApplicationBuilder

IApplicationBuilder Ara yazılımı eklemek için.

options
TwitterOptions

Sağlanan TwitterOptionsöğesini yapılandırmak için bir eylem temsilcisi.

Döndürülenler

İşlem tamamlandıktan sonra bu örneğe başvuru.

Şunlara uygulanır