FacebookAuthenticationOptionsExtensions.AddFacebook Method

Definition

Overloads

AddFacebook(AuthenticationBuilder)

Adds Facebook OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Facebook authentication allows application users to sign in with their Facebook account.

AddFacebook(AuthenticationBuilder, Action<FacebookOptions>)

Adds Facebook OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Facebook authentication allows application users to sign in with their Facebook account.

AddFacebook(AuthenticationBuilder, String, Action<FacebookOptions>)

Adds Facebook OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Facebook authentication allows application users to sign in with their Facebook account.

AddFacebook(AuthenticationBuilder, String, String, Action<FacebookOptions>)

Adds Facebook OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Facebook authentication allows application users to sign in with their Facebook account.

AddFacebook(AuthenticationBuilder)

Adds Facebook OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Facebook authentication allows application users to sign in with their Facebook account.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddFacebook (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddFacebook : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddFacebook (builder As AuthenticationBuilder) As AuthenticationBuilder

Parameters

Returns

AuthenticationBuilder

A reference to builder after the operation has completed.

Applies to

AddFacebook(AuthenticationBuilder, Action<FacebookOptions>)

Adds Facebook OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Facebook authentication allows application users to sign in with their Facebook account.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddFacebook (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions> configureOptions);
static member AddFacebook : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddFacebook (builder As AuthenticationBuilder, configureOptions As Action(Of FacebookOptions)) As AuthenticationBuilder

Parameters

configureOptions
Action<FacebookOptions>

A delegate to configure FacebookOptions.

Returns

AuthenticationBuilder

A reference to builder after the operation has completed.

Applies to

AddFacebook(AuthenticationBuilder, String, Action<FacebookOptions>)

Adds Facebook OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Facebook authentication allows application users to sign in with their Facebook account.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddFacebook (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions> configureOptions);
static member AddFacebook : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddFacebook (builder As AuthenticationBuilder, authenticationScheme As String, configureOptions As Action(Of FacebookOptions)) As AuthenticationBuilder

Parameters

authenticationScheme
String

The authentication scheme.

configureOptions
Action<FacebookOptions>

A delegate to configure FacebookOptions.

Returns

AuthenticationBuilder

A reference to builder after the operation has completed.

Applies to

AddFacebook(AuthenticationBuilder, String, String, Action<FacebookOptions>)

Adds Facebook OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Facebook authentication allows application users to sign in with their Facebook account.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddFacebook (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions> configureOptions);
static member AddFacebook : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddFacebook (builder As AuthenticationBuilder, authenticationScheme As String, displayName As String, configureOptions As Action(Of FacebookOptions)) As AuthenticationBuilder

Parameters

authenticationScheme
String

The authentication scheme.

displayName
String

A display name for the authentication handler.

configureOptions
Action<FacebookOptions>

A delegate to configure FacebookOptions.

Returns

AuthenticationBuilder

Applies to