4 writes to TokenType
System.ServiceModel (4)
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
243
rstr.
TokenType
= this.SecurityContextTokenUri;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
725
rstr.
TokenType
= this.sctUri;
System\ServiceModel\Security\SspiNegotiationTokenAuthenticator.cs (2)
293
dummyRstr.
TokenType
= this.SecurityContextTokenUri;
329
negotiationRstr.
TokenType
= this.SecurityContextTokenUri;
11 references to TokenType
System.ServiceModel (11)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
618
if (String.Compare(response.
TokenType
, PeerHashToken.TokenTypeString, StringComparison.OrdinalIgnoreCase) != 0)
System\ServiceModel\Security\WSTrust.cs (10)
669
if (rstr.
TokenType
!= null)
671
if (expectedTokenType != null && expectedTokenType != rstr.
TokenType
)
673
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.BadIssuedTokenType, rstr.
TokenType
, expectedTokenType)));
675
tokenType = rstr.
TokenType
;
778
if (rstr.
TokenType
!= null)
780
if (expectedTokenType != null && expectedTokenType != rstr.
TokenType
)
782
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.BadIssuedTokenType, rstr.
TokenType
, expectedTokenType)));
784
tokenType = rstr.
TokenType
;
1139
if (rstr.
TokenType
!= null)
1140
writer.WriteElementString(DriverDictionary.Prefix.Value, DriverDictionary.TokenType, DriverDictionary.Namespace, rstr.
TokenType
);