21 references to SecurityTokenSpecification
System.ServiceModel (21)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
383
remoteSecurity.TransportToken = new
SecurityTokenSpecification
(null, spnPolicies);
System\ServiceModel\Channels\HttpChannelListener.cs (2)
645
security.TransportToken = new
SecurityTokenSpecification
(securityToken, authorizationPolicies);
656
security.TransportToken = new
SecurityTokenSpecification
(securityToken, authorizationPolicies);
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
86
result.TransportToken = new
SecurityTokenSpecification
(token, authorizationPolicies);
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
156
result.TransportToken = new
SecurityTokenSpecification
(token, policies);
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (2)
189
security.TransportToken = new
SecurityTokenSpecification
(token, authorizationPolicies);
220
security.TransportToken = new
SecurityTokenSpecification
(null, authorizationPolicies);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
665
this.clientSecurity.TransportToken = new
SecurityTokenSpecification
(token, authorizationPolicies);
688
this.clientSecurity.TransportToken = new
SecurityTokenSpecification
(token, authorizationPolicies);
971
this.serverSecurity.TransportToken = new
SecurityTokenSpecification
(token, authorizationPolicies);
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
257
this.clientSecurity.TransportToken = new
SecurityTokenSpecification
(token, authorizationPolicies);
403
result.TransportToken = new
SecurityTokenSpecification
(null, authorizationPolicies);
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (4)
226
security.InitiatorToken = (initiatorToken != null) ? new
SecurityTokenSpecification
(initiatorToken, tokenPoliciesMapping[initiatorToken]) : null;
227
security.RecipientToken = (recipientToken != null) ? new
SecurityTokenSpecification
(recipientToken, EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance) : null;
236
security.InitiatorToken = (initiatorToken != null) ? new
SecurityTokenSpecification
(initiatorToken, EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance) : null;
237
security.RecipientToken = new
SecurityTokenSpecification
(recipientToken, recipientTokenPolicies);
System\ServiceModel\Security\MessageSecurityProtocol.cs (2)
184
security.ProtectionToken = new
SecurityTokenSpecification
(protectionToken, protectionTokenPolicies);
194
security.ProtectionToken = new
SecurityTokenSpecification
(protectionToken, protectionTokenPolicies);
System\ServiceModel\Security\SecurityUtils.cs (2)
1414
messageProperty.TransportToken = new
SecurityTokenSpecification
(new UserNameSecurityToken(token.UserName, null, token.Id), messageProperty.TransportToken.SecurityTokenPolicies);
1423
messageProperty.ProtectionToken = new
SecurityTokenSpecification
(new UserNameSecurityToken(token.UserName, null, token.Id), messageProperty.ProtectionToken.SecurityTokenPolicies);
System\ServiceModel\Security\SupportingTokenSpecification.cs (1)
23
:
base
(token, tokenPolicies)