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