TwitterAppBuilderExtensions.UseTwitterAuthentication Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
UseTwitterAuthentication(IApplicationBuilder) |
Kedaluwarsa.
Kedaluwarsa.
UseTwitterAuthentication sudah usang. Mengonfigurasi autentikasi Twitter dengan AddAuthentication(). AddTwitter di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya. |
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) |
Kedaluwarsa.
Kedaluwarsa.
UseTwitterAuthentication sudah usang. Mengonfigurasi autentikasi Twitter dengan AddAuthentication(). AddTwitter di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya. |
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) |
TwitterMiddleware Menambahkan middleware ke yang ditentukan IApplicationBuilder, yang memungkinkan kemampuan autentikasi Twitter. |
UseTwitterAuthentication(IApplicationBuilder)
Perhatian
Perhatian
UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseTwitterAuthentication sudah usang. Mengonfigurasi autentikasi Twitter dengan AddAuthentication(). AddTwitter di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya.
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
Parameter
IApplicationBuilder untuk menambahkan handler.
Mengembalikan
Referensi ke instans ini setelah operasi selesai.
- Atribut
Berlaku untuk
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)
Perhatian
Perhatian
UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseTwitterAuthentication sudah usang. Mengonfigurasi autentikasi Twitter dengan AddAuthentication(). AddTwitter di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya.
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
Parameter
IApplicationBuilder untuk menambahkan handler.
- options
- TwitterOptions
Delegasi tindakan untuk mengonfigurasi yang disediakan TwitterOptions.
Mengembalikan
Referensi ke instans ini setelah operasi selesai.
- Atribut
Berlaku untuk
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)
TwitterMiddleware Menambahkan middleware ke yang ditentukan IApplicationBuilder, yang memungkinkan kemampuan autentikasi 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
Parameter
IApplicationBuilder untuk menambahkan middleware.
- options
- TwitterOptions
Delegasi tindakan untuk mengonfigurasi yang disediakan TwitterOptions.
Mengembalikan
Referensi ke instans ini setelah operasi selesai.