10 instantiations of SecurityTokenElement
System.IdentityModel (10)
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (1)
88
rst.ValidateTarget = new
SecurityTokenElement
(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers);
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (7)
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);
298
rst.OnBehalfOf = new
SecurityTokenElement
(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.Usage.OnBehalfOf]);
321
rst.ActAs = new
SecurityTokenElement
(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.Usage.ActAs]);
539
rst.CancelTarget = new
SecurityTokenElement
(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers);
System\IdentityModel\Tokens\SecurityTokenElement.cs (2)
82
/// <see cref="
SecurityTokenElement
(XmlElement, SecurityTokenHandlerCollection)"/>.
96
/// <see cref="
SecurityTokenElement
(SecurityToken)"/>, <see cref="ReadSecurityToken"/>
35 references to SecurityTokenElement
System.IdentityModel (35)
System\IdentityModel\Protocols\WSTrust\RequestSecurityToken.cs (16)
22
SecurityTokenElement
_renewTarget;
23
SecurityTokenElement
_proofEncryption;
25
SecurityTokenElement
_onBehalfOf;
27
SecurityTokenElement
_actAs;
28
SecurityTokenElement
_delegateTo;
31
SecurityTokenElement
_cancelTarget;
32
SecurityTokenElement
_validateTarget;
34
SecurityTokenElement
_encryption;
98
public
SecurityTokenElement
Encryption
154
public
SecurityTokenElement
DelegateTo
188
public
SecurityTokenElement
OnBehalfOf
255
public
SecurityTokenElement
ActAs
271
public
SecurityTokenElement
CancelTarget
287
public
SecurityTokenElement
ProofEncryption
319
public
SecurityTokenElement
RenewTarget
352
public
SecurityTokenElement
ValidateTarget
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (3)
251
SecurityTokenElement
tokenElement = elementValue as
SecurityTokenElement
;
255
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("elementValue", SR.GetString(SR.ID3222, WSTrust13Constants.ElementNames.ValidateTarget, WSTrust13Constants.NamespaceURI, typeof(
SecurityTokenElement
), elementValue));
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (16)
1034
SecurityTokenElement
tokenElement = elementValue as
SecurityTokenElement
;
1037
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("elementValue", SR.GetString(SR.ID3222, trustConstants.Elements.RenewTarget, trustConstants.NamespaceURI, typeof(
SecurityTokenElement
), elementValue));
1058
WriteTokenElement((
SecurityTokenElement
)elementValue, SecurityTokenHandlerCollectionManager.Usage.OnBehalfOf, context, writer);
1067
WriteTokenElement((
SecurityTokenElement
)elementValue, SecurityTokenHandlerCollectionManager.Usage.ActAs, context, writer);
1163
SecurityTokenElement
token = (
SecurityTokenElement
)elementValue;
1182
SecurityTokenElement
token = (
SecurityTokenElement
)elementValue;
1201
SecurityTokenElement
token = (
SecurityTokenElement
)elementValue;
1268
SecurityTokenElement
tokenElement = elementValue as
SecurityTokenElement
;
1272
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("elementValue", SR.GetString(SR.ID3222, trustConstants.Elements.CancelTarget, trustConstants.NamespaceURI, typeof(
SecurityTokenElement
), elementValue));
2914
/// <param name="tokenElement">The <see cref="
SecurityTokenElement
"/> to write.</param>
2918
private static void WriteTokenElement(
SecurityTokenElement
tokenElement, string usage, WSTrustSerializationContext context, XmlWriter writer)