28 references to SecurityToken
System.ServiceModel (28)
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (4)
131
OperationContext.Current.IncomingMessageProperties.Security.TransportToken.
SecurityToken
;
429
if (tokenSpecification.
SecurityToken
is KerberosReceiverSecurityToken)
471
SecurityTokenHandler tokenHandler = securityTokenHandlerCollection[kerberosTokenSpecification.
SecurityToken
];
474
identities.AddRange(tokenHandler.ValidateToken(kerberosTokenSpecification.
SecurityToken
));
System\ServiceModel\Security\SecurityMessageProperty.cs (1)
286
SecurityContextSecurityToken sct = this.incomingSupportingTokens[i].
SecurityToken
as SecurityContextSecurityToken;
System\ServiceModel\Security\SecurityProtocol.cs (1)
681
SecurityToken token = supportingTokens[i].
SecurityToken
;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (8)
753
SecurityContextSecurityToken sct = supportingTokenProperty.IncomingSupportingTokens[i].
SecurityToken
as SecurityContextSecurityToken;
796
SecurityContextSecurityToken newToken = this.IssueToken(rst, request, (SecurityContextSecurityToken)sessionToken.
SecurityToken
, sessionToken.SecurityTokenPolicies, out rstr);
806
this.NotifyOperationCompletion(SecuritySessionOperation.Renew, newToken, (SecurityContextSecurityToken)sessionToken.
SecurityToken
, request.Headers.ReplyTo);
845
AddTokenToRemoveIfRequired(security.ProtectionToken.
SecurityToken
, securityContextTokensToRemove);
849
AddTokenToRemoveIfRequired(security.InitiatorToken.
SecurityToken
, securityContextTokensToRemove);
859
AddTokenToRemoveIfRequired(security.IncomingSupportingTokens[i].
SecurityToken
, securityContextTokensToRemove);
971
SecurityContextSecurityToken sct = (securityProperty.ProtectionToken != null) ? (securityProperty.ProtectionToken.
SecurityToken
as SecurityContextSecurityToken) : null;
983
sct = securityProperty.IncomingSupportingTokens[i].
SecurityToken
as SecurityContextSecurityToken;
System\ServiceModel\Security\SecuritySessionServerSettings.cs (2)
1366
SecurityContextSecurityToken sct = (securityProperty.ProtectionToken != null) ? securityProperty.ProtectionToken.
SecurityToken
as SecurityContextSecurityToken : null;
1377
sct = (securityProperty.IncomingSupportingTokens[i].
SecurityToken
as SecurityContextSecurityToken);
System\ServiceModel\Security\SecurityUtils.cs (6)
1411
UserNameSecurityToken token = messageProperty.TransportToken.
SecurityToken
as UserNameSecurityToken;
1412
if ((token != null) && !messageProperty.TransportToken.
SecurityToken
.GetType().IsSubclassOf(typeof(UserNameSecurityToken)))
1420
UserNameSecurityToken token = messageProperty.ProtectionToken.
SecurityToken
as UserNameSecurityToken;
1421
if ((token != null) && !messageProperty.ProtectionToken.
SecurityToken
.GetType().IsSubclassOf(typeof(UserNameSecurityToken)))
1432
UserNameSecurityToken token = supportingTokenSpecification.
SecurityToken
as UserNameSecurityToken;
1433
if ((token != null) && !supportingTokenSpecification.
SecurityToken
.GetType().IsSubclassOf(typeof(UserNameSecurityToken)))
System\ServiceModel\Security\WSTrustServiceContract.cs (3)
104
tokenList.Add(msgProperty.ProtectionToken.
SecurityToken
);
114
tokenList.Add(tokenSpec.
SecurityToken
);
121
tokenList.Add(msgProperty.InitiatorToken.
SecurityToken
);
System\ServiceModel\ServiceAuthenticationManager.cs (3)
118
(message.Properties.Security.ProtectionToken.
SecurityToken
!= null) &&
119
(message.Properties.Security.ProtectionToken.
SecurityToken
.GetType() == typeof(SecurityContextSecurityToken)))
129
(tokenSpecification.
SecurityToken
.GetType() == typeof(SecurityContextSecurityToken)))