16 references to GoogleOptions
Microsoft.AspNetCore.Authentication.Google (11)
GoogleExtensions.cs (7)
34/// <param name="configureOptions">A delegate to configure <see cref="GoogleOptions"/>.</param> 36public static AuthenticationBuilder AddGoogle(this AuthenticationBuilder builder, Action<GoogleOptions> configureOptions) 48/// <param name="configureOptions">A delegate to configure <see cref="GoogleOptions"/>.</param> 50public static AuthenticationBuilder AddGoogle(this AuthenticationBuilder builder, string authenticationScheme, Action<GoogleOptions> configureOptions) 63/// <param name="configureOptions">A delegate to configure <see cref="GoogleOptions"/>.</param> 65public static AuthenticationBuilder AddGoogle(this AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<GoogleOptions> configureOptions) 66=> builder.AddOAuth<GoogleOptions, GoogleHandler>(authenticationScheme, displayName, configureOptions);
GoogleHandler.cs (3)
21public class GoogleHandler : OAuthHandler<GoogleOptions> 28public GoogleHandler(IOptionsMonitor<GoogleOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) 36public GoogleHandler(IOptionsMonitor<GoogleOptions> options, ILoggerFactory logger, UrlEncoder encoder)
GoogleOptions.cs (1)
16/// Initializes a new <see cref="GoogleOptions"/>.
Microsoft.AspNetCore.Authentication.Test (4)
GoogleTests.cs (4)
22public class GoogleTests : RemoteAuthenticationTests<GoogleOptions> 29protected override void RegisterAuth(AuthenticationBuilder services, Action<GoogleOptions> configure) 38protected override void ConfigureDefaults(GoogleOptions o) 1144private static async Task<IHost> CreateHost(Action<GoogleOptions> configureOptions, Func<HttpContext, Task> testpath = null)
SocialSample (1)
Startup.cs (1)
472return Task.FromResult<OAuthOptions>(context.RequestServices.GetRequiredService<IOptionsMonitor<GoogleOptions>>().Get(currentAuthType));