예제 #1
0
 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);
예제 #2
0
 public static AuthenticationBuilder AddADFS(this AuthenticationBuilder builder, string authenticationScheme, string displayName, Action <ADFSOptions> configureOptions)
 => builder.AddADFS <ADFSOptions, ADFSHandler <ADFSOptions> >(authenticationScheme, displayName, configureOptions);