public static AuthenticationBuilder AddADFS <TOptions, THandler>(this AuthenticationBuilder builder, string authenticationScheme, Action <TOptions> configureOptions) where TOptions : ADFSOptions, new() where THandler : ADFSHandler <TOptions> => builder.AddADFS <TOptions, THandler>(authenticationScheme, OAuthDefaults.DisplayName, configureOptions);
public static AuthenticationBuilder AddADFS(this AuthenticationBuilder builder, string authenticationScheme, string displayName, Action <ADFSOptions> configureOptions) => builder.AddADFS <ADFSOptions, ADFSHandler <ADFSOptions> >(authenticationScheme, displayName, configureOptions);