17 writes to TokenType
System.ServiceModel.Federation.Tests (1)
WSTrustChannelSecurityTokenProviderTest.cs (1)
52TokenType = "urn:oasis:names:tc:SAML:1.0:assertion"
System.ServiceModel.NetFramingBase (3)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
270serverCertRequirement.TokenType = X509CertificateTokenType; 284clientCertRequirement.TokenType = X509CertificateTokenType;
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
72sspiTokenRequirement.TokenType = ServiceModelSecurityTokenTypes.SspiCredential;
System.ServiceModel.Primitives (8)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (4)
68sspiTokenRequirement.TokenType = ServiceModelSecurityTokenTypes.SspiCredential; 101digestTokenRequirement.TokenType = ServiceModelSecurityTokenTypes.SspiCredential; 123certificateTokenRequirement.TokenType = SecurityTokenTypes.X509Certificate; 193usernameRequirement.TokenType = SecurityTokenTypes.UserName;
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
194requirement.TokenType = TokenType;
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (1)
147requirement.TokenType = ServiceModelSecurityTokenTypes.SecureConversation;
System\ServiceModel\Security\Tokens\UserNameSecurityTokenParameters.cs (1)
42requirement.TokenType = SecurityTokenTypes.UserName;
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (1)
124requirement.TokenType = SecurityTokenTypes.X509Certificate;
System.ServiceModel.Primitives.Tests (5)
Security\SecurityTokenRequirementTest.cs (5)
19tokenrequirement.TokenType = SecurityTokenRequirement.TokenTypeProperty; 28tokenrequirement.TokenType = SecurityTokenRequirement.TokenTypeProperty; 29tokenrequirement.TokenType = value; 37tokenrequirement.TokenType = SecurityTokenRequirement.TokenTypeProperty; 46tokenrequirement.TokenType = SecurityTokenRequirement.TokenTypeProperty;
14 references to TokenType
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (2)
161if (SecurityTokenRequirement.TokenType != null) 163trustRequest.TokenType = SecurityTokenRequirement.TokenType;
System.ServiceModel.Primitives (8)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (8)
73if (requirement.TokenType == ServiceModelSecurityTokenTypes.AnonymousSslnego || requirement.TokenType == ServiceModelSecurityTokenTypes.MutualSslnego 74|| requirement.TokenType == ServiceModelSecurityTokenTypes.SecureConversation || requirement.TokenType == ServiceModelSecurityTokenTypes.Spnego) 94if (tokenRequirement is RecipientServiceModelSecurityTokenRequirement && tokenRequirement.TokenType == SecurityTokenTypes.X509Certificate && tokenRequirement.KeyUsage == SecurityKeyUsage.Exchange) 106string tokenType = initiatorRequirement.TokenType; 282string tokenType = initiatorRequirement.TokenType; 320else if ((tokenRequirement is RecipientServiceModelSecurityTokenRequirement) && tokenRequirement.TokenType == SecurityTokenTypes.X509Certificate)
System.ServiceModel.Primitives.Tests (4)
Security\SecurityTokenRequirementTest.cs (4)
20Assert.Equal(NetValue, tokenrequirement.TokenType); 30Assert.Equal(value, tokenrequirement.TokenType); 38Assert.True(tokenrequirement.TryGetProperty(tokenrequirement.TokenType, out string valueIsTrue)); 47Assert.Throws<ArgumentException>(() => tokenrequirement.TryGetProperty(tokenrequirement.TokenType, out int Tvalue));