/// <summary> /// Initializes a new instance of the <see cref="ServiceProviderConfigBuilder"/> class. /// </summary> public ServiceProviderConfigBuilder() { _authenticationContextComparison = AuthenticationContextComparison.Exact; _authenticationContexts = new List <AuthenticationContext>(); _endpoints = new List <ServiceProviderEndpoint>(); _nameIdFormats = new List <string>(); }
/// <summary> /// Configures the <see cref="AuthenticationContextComparison"/>. /// </summary> /// <param name="comparison">The <see cref="AuthenticationContextComparison"/>.</param> /// <returns>The <see cref="ServiceProviderConfigBuilder"/>.</returns> public ServiceProviderConfigBuilder WithAuthenticationContextComparison(AuthenticationContextComparison comparison) { _authenticationContextComparison = comparison; return(this); }