public static WsTrustOptions AddSaml2SecurityTokenHandler(this WsTrustOptions options)
 => options.AddSecurityTokenHandler(provider => provider.GetService <Saml2SecurityTokenHandler>() ?? new WsSecuritySaml2SecurityTokenHandler(), Saml2Constants.Saml2TokenProfile11, Saml2Constants.OasisWssSaml2TokenProfile11);
 public static WsTrustOptions AddSamlSecurityTokenHandler(this WsTrustOptions options)
 => options.AddSecurityTokenHandler(provider => provider.GetService <SamlSecurityTokenHandler>() ?? new SamlSecurityTokenHandler(), SamlConstants.Namespace, SamlConstants.OasisWssSamlTokenProfile11);