15 references to FacebookOptions
Microsoft.AspNetCore.Authentication.Facebook (11)
FacebookExtensions.cs (7)
34
/// <param name="configureOptions">A delegate to configure <see cref="
FacebookOptions
"/>.</param>
36
public static AuthenticationBuilder AddFacebook(this AuthenticationBuilder builder, Action<
FacebookOptions
> configureOptions)
48
/// <param name="configureOptions">A delegate to configure <see cref="
FacebookOptions
"/>.</param>
50
public static AuthenticationBuilder AddFacebook(this AuthenticationBuilder builder, string authenticationScheme, Action<
FacebookOptions
> configureOptions)
63
/// <param name="configureOptions">A delegate to configure <see cref="
FacebookOptions
"/>.</param>
64
public static AuthenticationBuilder AddFacebook(this AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<
FacebookOptions
> configureOptions)
65
=> builder.AddOAuth<
FacebookOptions
, FacebookHandler>(authenticationScheme, displayName, configureOptions);
FacebookHandler.cs (3)
20
public class FacebookHandler : OAuthHandler<
FacebookOptions
>
27
public FacebookHandler(IOptionsMonitor<
FacebookOptions
> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
35
public FacebookHandler(IOptionsMonitor<
FacebookOptions
> options, ILoggerFactory logger, UrlEncoder encoder)
FacebookOptions.cs (1)
16
/// Initializes a new <see cref="
FacebookOptions
"/>.
Microsoft.AspNetCore.Authentication.Test (3)
FacebookTests.cs (3)
22
public class FacebookTests : RemoteAuthenticationTests<
FacebookOptions
>
29
protected override void RegisterAuth(AuthenticationBuilder services, Action<
FacebookOptions
> configure)
38
protected override void ConfigureDefaults(
FacebookOptions
o)
SocialSample (1)
Startup.cs (1)
480
return Task.FromResult<OAuthOptions>(context.RequestServices.GetRequiredService<IOptionsMonitor<
FacebookOptions
>>().Get(currentAuthType));