FacebookAuthenticationOptionsExtensions.AddFacebook 方法

定义

重载

AddFacebook(AuthenticationBuilder)

使用默认方案将基于 Facebook OAuth 的身份验证添加到 AuthenticationBuilder 。 默认方案由 AuthenticationScheme指定。

Facebook 身份验证允许应用程序用户使用其 Facebook 帐户登录。

AddFacebook(AuthenticationBuilder, Action<FacebookOptions>)

使用默认方案将基于 Facebook OAuth 的身份验证添加到 AuthenticationBuilder 。 默认方案由 AuthenticationScheme指定。

Facebook 身份验证允许应用程序用户使用其 Facebook 帐户登录。

AddFacebook(AuthenticationBuilder, String, Action<FacebookOptions>)

使用默认方案将基于 Facebook OAuth 的身份验证添加到 AuthenticationBuilder 。 默认方案由 AuthenticationScheme指定。

Facebook 身份验证允许应用程序用户使用其 Facebook 帐户登录。

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

使用默认方案将基于 Facebook OAuth 的身份验证添加到 AuthenticationBuilder 。 默认方案由 AuthenticationScheme指定。

Facebook 身份验证允许应用程序用户使用其 Facebook 帐户登录。

AddFacebook(AuthenticationBuilder)

Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs

使用默认方案将基于 Facebook OAuth 的身份验证添加到 AuthenticationBuilder 。 默认方案由 AuthenticationScheme指定。

Facebook 身份验证允许应用程序用户使用其 Facebook 帐户登录。

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

参数

返回

操作完成后对 builder 的引用。

适用于

AddFacebook(AuthenticationBuilder, Action<FacebookOptions>)

Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs

使用默认方案将基于 Facebook OAuth 的身份验证添加到 AuthenticationBuilder 。 默认方案由 AuthenticationScheme指定。

Facebook 身份验证允许应用程序用户使用其 Facebook 帐户登录。

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

参数

configureOptions
Action<FacebookOptions>

用于配置 FacebookOptions的委托。

返回

操作完成后对 builder 的引用。

适用于

AddFacebook(AuthenticationBuilder, String, Action<FacebookOptions>)

Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs

使用默认方案将基于 Facebook OAuth 的身份验证添加到 AuthenticationBuilder 。 默认方案由 AuthenticationScheme指定。

Facebook 身份验证允许应用程序用户使用其 Facebook 帐户登录。

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

参数

authenticationScheme
String

身份验证方案。

configureOptions
Action<FacebookOptions>

用于配置 FacebookOptions的委托。

返回

操作完成后对 builder 的引用。

适用于

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

Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs
Source:
FacebookExtensions.cs

使用默认方案将基于 Facebook OAuth 的身份验证添加到 AuthenticationBuilder 。 默认方案由 AuthenticationScheme指定。

Facebook 身份验证允许应用程序用户使用其 Facebook 帐户登录。

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

参数

authenticationScheme
String

身份验证方案。

displayName
String

身份验证处理程序的显示名称。

configureOptions
Action<FacebookOptions>

用于配置 FacebookOptions的委托。

返回

适用于