16 references to MicrosoftAccountOptions
Microsoft.AspNetCore.Authentication.MicrosoftAccount (11)
MicrosoftAccountExtensions.cs (7)
34/// <param name="configureOptions">A delegate to configure <see cref="MicrosoftAccountOptions"/>.</param> 36public static AuthenticationBuilder AddMicrosoftAccount(this AuthenticationBuilder builder, Action<MicrosoftAccountOptions> configureOptions) 48/// <param name="configureOptions">A delegate to configure <see cref="MicrosoftAccountOptions"/>.</param> 50public static AuthenticationBuilder AddMicrosoftAccount(this AuthenticationBuilder builder, string authenticationScheme, Action<MicrosoftAccountOptions> configureOptions) 63/// <param name="configureOptions">A delegate to configure <see cref="MicrosoftAccountOptions"/>.</param> 65public static AuthenticationBuilder AddMicrosoftAccount(this AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<MicrosoftAccountOptions> configureOptions) 66=> builder.AddOAuth<MicrosoftAccountOptions, MicrosoftAccountHandler>(authenticationScheme, displayName, configureOptions);
MicrosoftAccountHandler.cs (3)
21public class MicrosoftAccountHandler : OAuthHandler<MicrosoftAccountOptions> 28public MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) 36public MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions> options, ILoggerFactory logger, UrlEncoder encoder)
MicrosoftAccountOptions.cs (1)
16/// Initializes a new <see cref="MicrosoftAccountOptions"/>.
Microsoft.AspNetCore.Authentication.Test (4)
MicrosoftAccountTests.cs (4)
23public class MicrosoftAccountTests : RemoteAuthenticationTests<MicrosoftAccountOptions> 30protected override void RegisterAuth(AuthenticationBuilder services, Action<MicrosoftAccountOptions> configure) 39protected override void ConfigureDefaults(MicrosoftAccountOptions o) 355private static async Task<IHost> CreateHost(Action<MicrosoftAccountOptions> configureOptions)
SocialSample (1)
Startup.cs (1)
476return Task.FromResult<OAuthOptions>(context.RequestServices.GetRequiredService<IOptionsMonitor<MicrosoftAccountOptions>>().Get(currentAuthType));