7 references to UserNameSecurityToken
System.IdentityModel (2)
System\IdentityModel\Tokens\UserNameSecurityToken.cs (1)
17
:
this
(userName, password, SecurityUniqueId.Create().Value)
System\IdentityModel\Tokens\UserNameSecurityTokenHandler.cs (1)
163
new
UserNameSecurityToken
(userName, password, id);
System.ServiceModel (5)
System\ServiceModel\Security\SecurityUtils.cs (3)
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);
1435
messageProperty.IncomingSupportingTokens[i] = new SupportingTokenSpecification(new
UserNameSecurityToken
(token.UserName, null, token.Id), supportingTokenSpecification.SecurityTokenPolicies, supportingTokenSpecification.SecurityTokenAttachmentMode, supportingTokenSpecification.SecurityTokenParameters);
System\ServiceModel\Security\WSSecurityJan2004.cs (2)
361
SecurityToken token = new
UserNameSecurityToken
(userName, password, id);
398
return new
UserNameSecurityToken
(userName, password, id);