WsFederationExtensions.cs (8)
28/// <param name="configureOptions">A delegate that configures the <see cref="WsFederationOptions"/>.</param>
30public static AuthenticationBuilder AddWsFederation(this AuthenticationBuilder builder, Action<WsFederationOptions> configureOptions)
38/// <param name="configureOptions">A delegate that configures the <see cref="WsFederationOptions"/>.</param>
40public static AuthenticationBuilder AddWsFederation(this AuthenticationBuilder builder, string authenticationScheme, Action<WsFederationOptions> configureOptions)
49/// <param name="configureOptions">A delegate that configures the <see cref="WsFederationOptions"/>.</param>
51public static AuthenticationBuilder AddWsFederation(this AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<WsFederationOptions> configureOptions)
53builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IPostConfigureOptions<WsFederationOptions>, WsFederationPostConfigureOptions>());
54return builder.AddRemoteScheme<WsFederationOptions, WsFederationHandler>(authenticationScheme, displayName, configureOptions);