2 writes to _tokens
System.ServiceModel.Primitives (2)
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (2)
29
_tokens
= new SecurityTokenEntry[InitialTokenArraySize];
64
_tokens
= newTokens;
17 references to _tokens
System.ServiceModel.Primitives (17)
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (17)
55
_tokens
[_tokenCount++] = new SecurityTokenEntry(token, tokenParameters, allowedReferenceStyle);
60
if (_tokenCount ==
_tokens
.Length)
62
SecurityTokenEntry[] newTokens = new SecurityTokenEntry[
_tokens
.Length * 2];
63
Array.Copy(
_tokens
, 0, newTokens, 0, _tokenCount);
112
securityKey =
_tokens
[i].Token.ResolveKeyIdentifierClause(keyIdentifierClause);
151
if (matchOnlyExternal &&
_tokens
[i].AllowedReferenceStyle != SecurityTokenReferenceStyle.External)
156
SecurityToken token =
_tokens
[i].Token;
157
if (
_tokens
[i].TokenParameters != null &&
_tokens
[i].TokenParameters.MatchesKeyIdentifierClause(token, keyIdentifierClause,
_tokens
[i].AllowedReferenceStyle))
162
else if (
_tokens
[i].TokenParameters == null)
165
if (
_tokens
[i].AllowedReferenceStyle == SecurityTokenReferenceStyle.Internal && MatchDirectReference(token, keyIdentifierClause))
198
DerivedKeySecurityToken derivedKeyToken =
_tokens
[i].Token as DerivedKeySecurityToken;
206
resolvedToken =
_tokens
[i].Token;
237
i,
_tokens
[i].AllowedReferenceStyle,
_tokens
[i].Token.GetType(),
_tokens
[i].TokenParameters);