4 writes to RequestType
System.IdentityModel (4)
System\IdentityModel\Protocols\WSTrust\RequestSecurityToken.cs (1)
60
RequestType
= requestType;
System\IdentityModel\Protocols\WSTrust\RequestSecurityTokenResponse.cs (1)
49
RequestType
= message.RequestType; // note this is NOT a sub element under RSTR
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
104
rst.
RequestType
= WSTrustSerializationHelper.ReadRequestType(reader, trustConstants);
1464
rstr.
RequestType
= WSTrustSerializationHelper.ReadRequestType(reader, trustConstants);
24 references to RequestType
System.IdentityModel (20)
System\IdentityModel\Protocols\WSTrust\RequestSecurityTokenResponse.cs (1)
49
RequestType = message.
RequestType
; // note this is NOT a sub element under RSTR
System\IdentityModel\Protocols\WSTrust\WSTrustRequestSerializer.cs (2)
80
if ((StringComparer.Ordinal.Equals(requestSecurityToken.
RequestType
, RequestTypes.Issue) || requestSecurityToken.
RequestType
== null) &&
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (4)
793
if (!string.IsNullOrEmpty(rst.
RequestType
))
795
requestSerializer.WriteXmlElement(writer, trustConstants.Elements.RequestType, rst.
RequestType
, rst, context);
1800
if (!string.IsNullOrEmpty(rstr.
RequestType
))
1802
responseSerializer.WriteXmlElement(writer, trustConstants.Elements.RequestType, rstr.
RequestType
, rstr, context);
System\IdentityModel\SecurityTokenService.cs (13)
150
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidRequestException(SR.GetString(SR.ID3141, (request != null ? request.
RequestType
: "Cancel"))));
215
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidRequestException(SR.GetString(SR.ID3141, (request != null && request.
RequestType
!= null ? request.
RequestType
: "Renew"))));
229
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidRequestException(SR.GetString(SR.ID3141, (request != null && request.
RequestType
!= null ? request.
RequestType
: "Validate"))));
240
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidRequestException(SR.GetString(SR.ID3141, (request != null && request.
RequestType
!= null ? request.
RequestType
: "Cancel"))));
1039
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidRequestException(SR.GetString(SR.ID3141, (request != null && request.
RequestType
!= null ? request.
RequestType
: "Renew"))));
1050
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidRequestException(SR.GetString(SR.ID3141, (request != null && request.
RequestType
!= null ? request.
RequestType
: "Validate"))));
1065
if (request.
RequestType
!= null && request.
RequestType
!= RequestTypes.Issue)
System.ServiceModel (4)
System\ServiceModel\Security\WSTrustServiceContract.cs (4)
224
switch (rst.
RequestType
)
239
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID3112, rst.
RequestType
)));
1493
switch (rst.
RequestType
)
1508
this.Complete(true, DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID3112, rst.
RequestType
))));