FacebookAppBuilderExtensions.UseFacebookAuthentication FacebookAppBuilderExtensions.UseFacebookAuthentication FacebookAppBuilderExtensions.UseFacebookAuthentication Method

Definition

Overloads

UseFacebookAuthentication(IApplicationBuilder) UseFacebookAuthentication(IApplicationBuilder) UseFacebookAuthentication(IApplicationBuilder)

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

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

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

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Adds the FacebookMiddleware middleware to the specified IApplicationBuilder, which enables Facebook authentication capabilities.

UseFacebookAuthentication(IApplicationBuilder) UseFacebookAuthentication(IApplicationBuilder) UseFacebookAuthentication(IApplicationBuilder)

Warning

This API is now obsolete.

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

[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
<Extension()>
Public Function UseFacebookAuthentication (app As IApplicationBuilder) As IApplicationBuilder
Parameters
Returns

A reference to this instance after the operation has completed.

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Warning

This API is now obsolete.

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

[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);
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
Parameters
options
FacebookOptions FacebookOptions FacebookOptions

A FacebookOptions that specifies options for the handler.

Returns

A reference to this instance after the operation has completed.

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Adds the FacebookMiddleware middleware to the specified IApplicationBuilder, which enables Facebook authentication capabilities.

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
Parameters
options
FacebookOptions FacebookOptions FacebookOptions

A FacebookOptions that specifies options for the middleware.

Returns

A reference to this instance after the operation has completed.

Applies to