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