FacebookAppBuilderExtensions.UseFacebookAuthentication 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
UseFacebookAuthentication(IApplicationBuilder) |
Kedaluwarsa.
Kedaluwarsa.
UseFacebookAuthentication sudah usang. Mengonfigurasi autentikasi Facebook dengan AddAuthentication(). AddFacebook di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya. |
UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) |
Kedaluwarsa.
Kedaluwarsa.
UseFacebookAuthentication sudah usang. Mengonfigurasi autentikasi Facebook dengan AddAuthentication(). AddFacebook di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya. |
UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) |
FacebookMiddleware Menambahkan middleware ke yang ditentukan IApplicationBuilder, yang memungkinkan kemampuan autentikasi Facebook. |
UseFacebookAuthentication(IApplicationBuilder)
Perhatian
Perhatian
UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseFacebookAuthentication sudah usang. Mengonfigurasi autentikasi Facebook dengan AddAuthentication(). AddFacebook di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseFacebookAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFacebookAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFacebookAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFacebookAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseFacebookAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseFacebookAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseFacebookAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseFacebookAuthentication (app As IApplicationBuilder) As IApplicationBuilder
Parameter
IApplicationBuilder untuk menambahkan handler.
Mengembalikan
Referensi ke instans ini setelah operasi selesai.
- Atribut
Berlaku untuk
UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)
Perhatian
Perhatian
UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseFacebookAuthentication sudah usang. Mengonfigurasi autentikasi Facebook dengan AddAuthentication(). AddFacebook di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseFacebookAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::Facebook::FacebookOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFacebookAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions options);
[System.Obsolete("UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFacebookAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions options);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseFacebookAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseFacebookAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseFacebookAuthentication (app As IApplicationBuilder, options As FacebookOptions) As IApplicationBuilder
Parameter
IApplicationBuilder untuk menambahkan handler.
- options
- FacebookOptions
FacebookOptions yang menentukan opsi untuk handler.
Mengembalikan
Referensi ke instans ini setelah operasi selesai.
- Atribut
Berlaku untuk
UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)
FacebookMiddleware Menambahkan middleware ke yang ditentukan IApplicationBuilder, yang memungkinkan kemampuan autentikasi Facebook.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseFacebookAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::FacebookOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFacebookAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.FacebookOptions options);
static member UseFacebookAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.FacebookOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseFacebookAuthentication (app As IApplicationBuilder, options As FacebookOptions) As IApplicationBuilder
Parameter
IApplicationBuilder untuk menambahkan middleware.
- options
- FacebookOptions
FacebookOptions yang menentukan opsi untuk middleware.
Mengembalikan
Referensi ke instans ini setelah operasi selesai.