19 references to Usage
System.IdentityModel (14)
System\IdentityModel\Configuration\IdentityConfiguration.cs (5)
510
if (!manager.ContainsKey(SecurityTokenHandlerCollectionManager.
Usage
.Default))
512
manager[SecurityTokenHandlerCollectionManager.
Usage
.Default] = SecurityTokenHandlerCollection.CreateDefaultSecurityTokenHandlerCollection(_serviceHandlerConfiguration);
524
if (!manager.ContainsKey(SecurityTokenHandlerCollectionManager.
Usage
.Default))
526
manager[SecurityTokenHandlerCollectionManager.
Usage
.Default] = SecurityTokenHandlerCollection.CreateDefaultSecurityTokenHandlerCollection(_serviceHandlerConfiguration);
906
return _securityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.
Usage
.Default];
System\IdentityModel\Configuration\SecurityTokenHandlerConfigurationElement.cs (1)
24
Name = SecurityTokenHandlerCollectionManager.
Usage
.Default;
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationContext.cs (1)
110
get { return this.securityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.
Usage
.Default]; }
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (6)
296
if (context.SecurityTokenHandlerCollectionManager.ContainsKey(SecurityTokenHandlerCollectionManager.
Usage
.OnBehalfOf))
298
rst.OnBehalfOf = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.
Usage
.OnBehalfOf]);
319
if (context.SecurityTokenHandlerCollectionManager.ContainsKey(SecurityTokenHandlerCollectionManager.
Usage
.ActAs))
321
rst.ActAs = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.
Usage
.ActAs]);
1058
WriteTokenElement((SecurityTokenElement)elementValue, SecurityTokenHandlerCollectionManager.
Usage
.OnBehalfOf, context, writer);
1067
WriteTokenElement((SecurityTokenElement)elementValue, SecurityTokenHandlerCollectionManager.
Usage
.ActAs, context, writer);
System\IdentityModel\Tokens\SecurityTokenHandlerCollectionManager.cs (1)
127
defaultManager.collections.Add(SecurityTokenHandlerCollectionManager.
Usage
.Default, defaultHandlers);
System.ServiceModel (5)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (1)
704
WsSecurityTokenSerializerAdapter adapter = new WsSecurityTokenSerializerAdapter(sthcm[SecurityTokenHandlerCollectionManager.
Usage
.Default], securityVersion, trustVersion, scVersion, false, null, null, null);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (4)
398
SecurityTokenHandlerCollectionManager.
Usage
.OnBehalfOf));
412
SecurityTokenHandlerCollectionManager.
Usage
.OnBehalfOf));
431
SecurityTokenHandlerCollectionManager.
Usage
.ActAs));
479
tokenHandlerCollection = this.tokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.
Usage
.Default];