11 instantiations of CustomTypeElement
System.IdentityModel (11)
System\IdentityModel\Configuration\SecurityTokenHandlerElementCollection.cs (9)
20return new CustomTypeElement(); 33BaseAdd( new CustomTypeElement( typeof( SamlSecurityTokenHandler ) ) ); 34BaseAdd( new CustomTypeElement( typeof( Saml2SecurityTokenHandler ) ) ); 35BaseAdd( new CustomTypeElement( typeof( WindowsUserNameSecurityTokenHandler ) ) ); 36BaseAdd( new CustomTypeElement( typeof( X509SecurityTokenHandler ) ) ); 37BaseAdd( new CustomTypeElement( typeof( KerberosSecurityTokenHandler ) ) ); 38BaseAdd( new CustomTypeElement( typeof( RsaSecurityTokenHandler ) ) ); 39BaseAdd( new CustomTypeElement( typeof( SessionSecurityTokenHandler ) ) ); 40BaseAdd( new CustomTypeElement( typeof( EncryptedSecurityTokenHandler ) ) );
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (1)
211_certificateValidator = CustomTypeElement.Resolve<X509CertificateValidator>(new CustomTypeElement(customValidatorType));
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
225certificateValidator = CustomTypeElement.Resolve<X509CertificateValidator>(new CustomTypeElement(customValidatorType));
42 references to CustomTypeElement
System.IdentityModel (42)
System\IdentityModel\Configuration\CustomTypeElement.cs (1)
22public static T Resolve<T>( CustomTypeElement customTypeElement ) where T : class
System\IdentityModel\Configuration\IdentityConfiguration.cs (14)
241return CustomTypeElement.Resolve<SecurityTokenResolver>(element.ServiceTokenResolver); 254return CustomTypeElement.Resolve<SecurityTokenResolver>(element.IssuerTokenResolver); 267return CustomTypeElement.Resolve<ClaimsAuthenticationManager>(element.ClaimsAuthenticationManager); 407_claimsAuthorizationManager = CustomTypeElement.Resolve<ClaimsAuthorizationManager>(element.ClaimsAuthorizationManager); 496foreach (CustomTypeElement handlerElement in handlerElementCollection) 498handlerCollection.Add(CustomTypeElement.Resolve<SecurityTokenHandler>(handlerElement)); 570handlerConfiguration.Caches.TokenReplayCache = CustomTypeElement.Resolve<TokenReplayCache>(element.Caches.TokenReplayCache); 575handlerConfiguration.Caches.SessionSecurityTokenCache = CustomTypeElement.Resolve<SessionSecurityTokenCache>(element.Caches.SessionSecurityTokenCache); 587handlerConfiguration.CertificateValidator = CustomTypeElement.Resolve<X509CertificateValidator>(element.CertificateValidation.CertificateValidator); 672handlerConfiguration.Caches.TokenReplayCache = CustomTypeElement.Resolve<TokenReplayCache>(element.Caches.TokenReplayCache); 677handlerConfiguration.Caches.SessionSecurityTokenCache = CustomTypeElement.Resolve<SessionSecurityTokenCache>(element.Caches.SessionSecurityTokenCache); 689handlerConfiguration.CertificateValidator = CustomTypeElement.Resolve<X509CertificateValidator>(element.CertificateValidation.CertificateValidator); 706handlerConfiguration.IssuerTokenResolver = CustomTypeElement.Resolve<SecurityTokenResolver>(element.IssuerTokenResolver); 737handlerConfiguration.ServiceTokenResolver = CustomTypeElement.Resolve<SecurityTokenResolver>(element.ServiceTokenResolver);
System\IdentityModel\Configuration\IdentityConfigurationElement.cs (8)
44public CustomTypeElement ClaimsAuthenticationManager 46get { return (CustomTypeElement)this[ConfigurationStrings.ClaimsAuthenticationManager]; } 51public CustomTypeElement ClaimsAuthorizationManager 53get { return (CustomTypeElement)this[ConfigurationStrings.ClaimsAuthorizationManager]; } 65public CustomTypeElement IssuerTokenResolver 67get { return (CustomTypeElement)this[ConfigurationStrings.IssuerTokenResolver]; } 88public CustomTypeElement ServiceTokenResolver 90get { return (CustomTypeElement)this[ConfigurationStrings.ServiceTokenResolver]; }
System\IdentityModel\Configuration\IdentityModelCachesElement.cs (4)
23public CustomTypeElement TokenReplayCache 25get { return (CustomTypeElement)this[ConfigurationStrings.TokenReplayCache]; } 35public CustomTypeElement SessionSecurityTokenCache 37get { return (CustomTypeElement)this[ConfigurationStrings.SessionSecurityTokenCache]; }
System\IdentityModel\Configuration\Properties.cs (5)
110properties.Add(new ConfigurationProperty("tokenReplayCache", typeof(System.IdentityModel.Configuration.CustomTypeElement), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 111properties.Add(new ConfigurationProperty("sessionSecurityTokenCache", typeof(System.IdentityModel.Configuration.CustomTypeElement), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 162properties.Add(new ConfigurationProperty("certificateValidator", typeof(System.IdentityModel.Configuration.CustomTypeElement), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 190properties.Add(new ConfigurationProperty("issuerTokenResolver", typeof(System.IdentityModel.Configuration.CustomTypeElement), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 194properties.Add(new ConfigurationProperty("serviceTokenResolver", typeof(System.IdentityModel.Configuration.CustomTypeElement), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System\IdentityModel\Configuration\SecurityTokenHandlerConfigurationElement.cs (4)
55public CustomTypeElement IssuerTokenResolver 57get { return (CustomTypeElement)this[ConfigurationStrings.IssuerTokenResolver]; } 86public CustomTypeElement ServiceTokenResolver 88get { return (CustomTypeElement)this[ConfigurationStrings.ServiceTokenResolver]; }
System\IdentityModel\Configuration\SecurityTokenHandlerElementCollection.cs (2)
11[ConfigurationCollection( typeof( CustomTypeElement ), CollectionType = ConfigurationElementCollectionType.BasicMap )] 25return ( (CustomTypeElement)element ).Type;
System\IdentityModel\Configuration\X509CertificateValidationElement.cs (2)
59public CustomTypeElement CertificateValidator 61get { return ( CustomTypeElement ) this[ConfigurationStrings.X509CertificateValidator]; }
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (1)
211_certificateValidator = CustomTypeElement.Resolve<X509CertificateValidator>(new CustomTypeElement(customValidatorType));
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
225certificateValidator = CustomTypeElement.Resolve<X509CertificateValidator>(new CustomTypeElement(customValidatorType));