Udostępnij za pośrednictwem


TwitterAppBuilderExtensions.UseTwitterAuthentication Metoda

Definicja

Przeciążenia

UseTwitterAuthentication(IApplicationBuilder)
Przestarzałe.
Przestarzałe.

Funkcja UseTwitterAuthentication jest przestarzała. Konfigurowanie uwierzytelniania w usłudze Twitter za pomocą polecenia AddAuthentication(). DodajTwitter w obszarze ConfigureServices. Zobacz https://go.microsoft.com/fwlink/?linkid=845470 , aby uzyskać więcej informacji.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)
Przestarzałe.
Przestarzałe.

Funkcja UseTwitterAuthentication jest przestarzała. Konfigurowanie uwierzytelniania w usłudze Twitter za pomocą polecenia AddAuthentication(). DodajTwitter w obszarze ConfigureServices. Zobacz https://go.microsoft.com/fwlink/?linkid=845470 , aby uzyskać więcej informacji.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

TwitterMiddleware Dodaje oprogramowanie pośredniczące do określonego IApplicationBuilderelementu , co umożliwia korzystanie z funkcji uwierzytelniania w usłudze Twitter.

UseTwitterAuthentication(IApplicationBuilder)

Źródło:
TwitterAppBuilderExtensions.cs
Źródło:
TwitterAppBuilderExtensions.cs

Przestroga

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

Funkcja UseTwitterAuthentication jest przestarzała. Konfigurowanie uwierzytelniania w usłudze Twitter za pomocą polecenia AddAuthentication(). DodajTwitter w obszarze ConfigureServices. Zobacz https://go.microsoft.com/fwlink/?linkid=845470 , aby uzyskać więcej informacji.

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

Parametry

app
IApplicationBuilder

Element IApplicationBuilder do dodawania programu obsługi.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Atrybuty

Dotyczy

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Źródło:
TwitterAppBuilderExtensions.cs
Źródło:
TwitterAppBuilderExtensions.cs

Przestroga

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

Funkcja UseTwitterAuthentication jest przestarzała. Konfigurowanie uwierzytelniania w usłudze Twitter za pomocą polecenia AddAuthentication(). DodajTwitter w obszarze ConfigureServices. Zobacz https://go.microsoft.com/fwlink/?linkid=845470 , aby uzyskać więcej informacji.

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

Parametry

app
IApplicationBuilder

Element IApplicationBuilder do dodawania programu obsługi.

options
TwitterOptions

Delegat akcji w celu skonfigurowania podanego TwitterOptionselementu .

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Atrybuty

Dotyczy

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

TwitterMiddleware Dodaje oprogramowanie pośredniczące do określonego IApplicationBuilderelementu , co umożliwia korzystanie z funkcji uwierzytelniania w usłudze Twitter.

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

Parametry

app
IApplicationBuilder

Element IApplicationBuilder do dodawania oprogramowania pośredniczącego.

options
TwitterOptions

Delegat akcji w celu skonfigurowania podanego TwitterOptionselementu .

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Dotyczy