FacebookAppBuilderExtensions.UseFacebookAuthentication Yöntem

Tanım

Aşırı Yüklemeler

UseFacebookAuthentication(IApplicationBuilder)
Geçersiz.
Geçersiz.

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

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)
Geçersiz.
Geçersiz.

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

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

FacebookMiddleware Ara yazılımı, Facebook kimlik doğrulama özelliklerini etkinleştiren belirtilen IApplicationBuilderöğesine ekler.

UseFacebookAuthentication(IApplicationBuilder)

Dikkat

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

UseFacebookAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Facebook kimlik doğrulamasını yapılandırın. ConfigureServices'te AddFacebook. 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 ^ 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

Parametreler

app
IApplicationBuilder

IApplicationBuilder İşleyicinin ekleneceği yer.

Döndürülenler

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

Öznitelikler

Şunlara uygulanır

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Dikkat

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

UseFacebookAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Facebook kimlik doğrulamasını yapılandırın. ConfigureServices'te AddFacebook. 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 ^ 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

Parametreler

app
IApplicationBuilder

IApplicationBuilder İşleyicinin ekleneceği yer.

options
FacebookOptions

FacebookOptions İşleyici için seçenekleri belirten bir.

Döndürülenler

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

Öznitelikler

Şunlara uygulanır

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

FacebookMiddleware Ara yazılımı, Facebook kimlik doğrulama özelliklerini etkinleştiren belirtilen IApplicationBuilderöğesine ekler.

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

Parametreler

app
IApplicationBuilder

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

options
FacebookOptions

FacebookOptions Ara yazılım seçeneklerini belirten bir.

Döndürülenler

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

Şunlara uygulanır