26 references to SecurityTokenHandlers
System.IdentityModel (26)
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (2)
88
rst.ValidateTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.
SecurityTokenHandlers
);
265
context.
SecurityTokenHandlers
.WriteToken(writer, tokenElement.GetSecurityToken());
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (24)
124
rst.ProofEncryption = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.
SecurityTokenHandlers
);
139
rst.Encryption = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.
SecurityTokenHandlers
);
154
rst.DelegateTo = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.
SecurityTokenHandlers
);
280
rst.RenewTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.
SecurityTokenHandlers
);
365
if (!context.
SecurityTokenHandlers
.CanReadToken(reader))
370
SecurityToken originalUseKeyToken = context.
SecurityTokenHandlers
.ReadToken(reader);
539
rst.CancelTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.
SecurityTokenHandlers
);
1048
context.
SecurityTokenHandlers
.WriteToken(writer, tokenElement.GetSecurityToken());
1104
if (!context.
SecurityTokenHandlers
.CanWriteToken(useKey.Token))
1111
context.
SecurityTokenHandlers
.WriteToken(writer, useKey.Token);
1173
context.
SecurityTokenHandlers
.WriteToken(writer, token.GetSecurityToken());
1192
context.
SecurityTokenHandlers
.WriteToken(writer, token.GetSecurityToken());
1211
context.
SecurityTokenHandlers
.WriteToken(writer, token.GetSecurityToken());
1283
context.
SecurityTokenHandlers
.WriteToken(writer, tokenElement.GetSecurityToken());
1533
rstr.RequestedAttachedReference = context.
SecurityTokenHandlers
.ReadKeyIdentifierClause(reader);
1550
rstr.RequestedUnattachedReference = context.
SecurityTokenHandlers
.ReadKeyIdentifierClause(reader);
1913
context.
SecurityTokenHandlers
.WriteToken(writer, requestedToken.SecurityToken);
1947
context.
SecurityTokenHandlers
.WriteKeyIdentifierClause(writer, (SecurityKeyIdentifierClause)elementValue);
1955
context.
SecurityTokenHandlers
.WriteKeyIdentifierClause(writer, (SecurityKeyIdentifierClause)elementValue);
2365
else if (context.
SecurityTokenHandlers
.CanReadKeyIdentifierClause(reader))
2368
EncryptedKeyIdentifierClause encryptedKeyClause = context.
SecurityTokenHandlers
.ReadKeyIdentifierClause(reader) as EncryptedKeyIdentifierClause;
2421
context.
SecurityTokenHandlers
.WriteKeyIdentifierClause(writer, clause);
2934
tokenHandlerCollection = context.
SecurityTokenHandlers
;
2949
context.
SecurityTokenHandlers
.WriteToken(writer, token);