26 writes to TokenType
System.ServiceModel (26)
System\ServiceModel\Channels\MsmqChannelFactoryBase.cs (1)
166
x509Requirement.
TokenType
= SecurityTokenTypes.X509Certificate;
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
165
x509Requirement.
TokenType
= SecurityTokenTypes.X509Certificate;
System\ServiceModel\Channels\PeerSecurityManager.cs (1)
869
requirement.
TokenType
= tokenType;
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
89
serverCertRequirement.
TokenType
= SecurityTokenTypes.X509Certificate;
769
serverCertRequirement.
TokenType
= SecurityTokenTypes.X509Certificate;
783
clientCertRequirement.
TokenType
= SecurityTokenTypes.X509Certificate;
System\ServiceModel\Channels\TransportSecurityHelpers.cs (6)
349
tokenRequirement.
TokenType
= ServiceModelSecurityTokenTypes.SspiCredential;
356
sspiTokenRequirement.
TokenType
= ServiceModelSecurityTokenTypes.SspiCredential;
412
digestTokenRequirement.
TokenType
= ServiceModelSecurityTokenTypes.SspiCredential;
430
clientAuthRequirement.
TokenType
= SecurityTokenTypes.X509Certificate;
446
certificateTokenRequirement.
TokenType
= SecurityTokenTypes.X509Certificate;
511
usernameRequirement.
TokenType
= SecurityTokenTypes.UserName;
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (3)
65
sspiCredentialRequirement.
TokenType
= ServiceModelSecurityTokenTypes.SspiCredential;
125
clientX509Requirement.
TokenType
= SecurityTokenTypes.X509Certificate;
145
serverX509Requirement.
TokenType
= SecurityTokenTypes.X509Certificate;
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (2)
176
clientX509Requirement.
TokenType
= SecurityTokenTypes.X509Certificate;
188
serverX509Requirement.
TokenType
= SecurityTokenTypes.X509Certificate;
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
961
requirement.
TokenType
= this.TokenType;
System\ServiceModel\Security\Tokens\KerberosSecurityTokenParameters.cs (1)
44
requirement.
TokenType
= SecurityTokenTypes.Kerberos;
System\ServiceModel\Security\Tokens\RsaSecurityTokenParameters.cs (1)
50
requirement.
TokenType
= SecurityTokenTypes.Rsa;
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (1)
198
requirement.
TokenType
= ServiceModelSecurityTokenTypes.SecureConversation;
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenParameters.cs (1)
45
requirement.
TokenType
= ServiceModelSecurityTokenTypes.SecurityContext;
System\ServiceModel\Security\Tokens\SslSecurityTokenParameters.cs (1)
116
requirement.
TokenType
= (this.RequireClientCertificate) ? ServiceModelSecurityTokenTypes.MutualSslnego : ServiceModelSecurityTokenTypes.AnonymousSslnego;
System\ServiceModel\Security\Tokens\SspiSecurityTokenParameters.cs (1)
96
requirement.
TokenType
= ServiceModelSecurityTokenTypes.Spnego;
System\ServiceModel\Security\Tokens\UserNameSecurityTokenParameters.cs (1)
44
requirement.
TokenType
= SecurityTokenTypes.UserName;
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (1)
136
requirement.
TokenType
= SecurityTokenTypes.X509Certificate;
17 references to TokenType
System.ServiceModel (17)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
304
if (requirement.
TokenType
== SecurityTokenTypes.X509Certificate && requirement.KeyUsage == SecurityKeyUsage.Signature)
System\ServiceModel\Channels\PeerSecurityManager.cs (2)
978
return ((requirement != null) && (requirement.
TokenType
== SecurityTokenTypes.UserName));
983
return (requirement != null && requirement.
TokenType
== SecurityTokenTypes.X509Certificate);
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (8)
356
if (requirement.
TokenType
== ServiceModelSecurityTokenTypes.AnonymousSslnego || requirement.
TokenType
== ServiceModelSecurityTokenTypes.MutualSslnego
357
|| requirement.
TokenType
== ServiceModelSecurityTokenTypes.SecureConversation || requirement.
TokenType
== ServiceModelSecurityTokenTypes.Spnego)
534
if (tokenRequirement is RecipientServiceModelSecurityTokenRequirement && tokenRequirement.
TokenType
== SecurityTokenTypes.X509Certificate && tokenRequirement.KeyUsage == SecurityKeyUsage.Exchange)
547
string tokenType = initiatorRequirement.
TokenType
;
721
string tokenType = initiatorRequirement.
TokenType
;
759
else if ((tokenRequirement is RecipientServiceModelSecurityTokenRequirement) && tokenRequirement.
TokenType
== SecurityTokenTypes.X509Certificate)
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (1)
124
string tokenType = tokenRequirement.
TokenType
;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1304
if (tokenRequirement.
TokenType
== ServiceModelSecurityTokenTypes.SecurityContext)
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (4)
325
string tokenType = tokenRequirement.
TokenType
;
407
string tokenType = recipientRequirement.
TokenType
;
446
string tokenType = initiatorRequirement.
TokenType
;
502
string tokenType = tokenRequirement.
TokenType
;