2 instantiations of RequestSecurityTokenResponse
System.IdentityModel (2)
System\IdentityModel\Protocols\WSTrust\WSTrustResponseSerializer.cs (1)
64
return new
RequestSecurityTokenResponse
();
System\IdentityModel\SecurityTokenService.cs (1)
536
RSTR rstr = new
RSTR
(request);
104 references to RequestSecurityTokenResponse
System.IdentityModel (56)
System\IdentityModel\Protocols\WSTrust\WSTrust13ResponseSerializer.cs (6)
23
public override
RequestSecurityTokenResponse
ReadXml(XmlReader reader, WSTrustSerializationContext context)
42
RequestSecurityTokenResponse
rstr = WSTrustSerializationHelper.CreateResponse(reader, context, this, WSTrustConstantsAdapter.Trust13);
61
public override void ReadXmlElement(XmlReader reader,
RequestSecurityTokenResponse
rstr, WSTrustSerializationContext context)
94
public override void WriteKnownResponseElement(
RequestSecurityTokenResponse
rstr, XmlWriter writer, WSTrustSerializationContext context)
129
public override void WriteXml(
RequestSecurityTokenResponse
response, XmlWriter writer, WSTrustSerializationContext context)
169
public override void WriteXmlElement(XmlWriter writer, string elementName, object elementValue,
RequestSecurityTokenResponse
rstr, WSTrustSerializationContext context)
System\IdentityModel\Protocols\WSTrust\WSTrustFeb2005ResponseSerializer.cs (5)
24
public override
RequestSecurityTokenResponse
ReadXml(XmlReader reader, WSTrustSerializationContext context)
47
public override void ReadXmlElement(XmlReader reader,
RequestSecurityTokenResponse
rstr, WSTrustSerializationContext context)
74
public override void WriteKnownResponseElement(
RequestSecurityTokenResponse
rstr, XmlWriter writer, WSTrustSerializationContext context)
101
public override void WriteXml(
RequestSecurityTokenResponse
response, XmlWriter writer, WSTrustSerializationContext context)
131
public override void WriteXmlElement(XmlWriter writer, string elementName, object elementValue,
RequestSecurityTokenResponse
rstr, WSTrustSerializationContext context)
System\IdentityModel\Protocols\WSTrust\WSTrustResponseSerializer.cs (7)
22
public abstract
RequestSecurityTokenResponse
ReadXml(XmlReader reader, WSTrustSerializationContext context);
30
public abstract void ReadXmlElement(XmlReader reader,
RequestSecurityTokenResponse
requestSecurityTokenResponse, WSTrustSerializationContext context);
38
public abstract void WriteKnownResponseElement(
RequestSecurityTokenResponse
requestSecurityTokenResponse, XmlWriter writer, WSTrustSerializationContext context);
46
public abstract void WriteXml(
RequestSecurityTokenResponse
response, XmlWriter writer, WSTrustSerializationContext context);
56
public abstract void WriteXmlElement(XmlWriter writer, string elementName, object elementValue,
RequestSecurityTokenResponse
requestSecurityTokenResponse, WSTrustSerializationContext context);
62
public virtual
RequestSecurityTokenResponse
CreateInstance()
72
public virtual void Validate(
RequestSecurityTokenResponse
requestSecurityTokenResponse)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (5)
1353
public static
RequestSecurityTokenResponse
CreateResponse(XmlReader reader, WSTrustSerializationContext context, WSTrustResponseSerializer responseSerializer, WSTrustConstantsAdapter trustConstants)
1380
RequestSecurityTokenResponse
rstr = responseSerializer.CreateInstance();
1400
public static void ReadRSTRXml(XmlReader reader,
RequestSecurityTokenResponse
rstr, WSTrustSerializationContext context, WSTrustConstantsAdapter trustConstants)
1667
public static void WriteResponse(
RequestSecurityTokenResponse
response, XmlWriter writer, WSTrustSerializationContext context, WSTrustResponseSerializer responseSerializer, WSTrustConstantsAdapter trustConstants)
1718
public static void WriteKnownResponseElement(
RequestSecurityTokenResponse
rstr, XmlWriter writer, WSTrustSerializationContext context, WSTrustResponseSerializer responseSerializer, WSTrustConstantsAdapter trustConstants)
System\IdentityModel\SecurityTokenService.cs (23)
11
using RSTR = System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
;
197
FederatedAsyncState asyncState = new FederatedAsyncState(request, principal, new TypedAsyncResult<
RSTR
>(callback, state));
238
public virtual
RSTR
Cancel(ClaimsPrincipal principal, RST request)
532
protected virtual
RSTR
GetResponse(RST request, SecurityTokenDescriptor tokenDescriptor)
536
RSTR
rstr = new RSTR(request);
575
public virtual
RSTR
EndCancel(IAsyncResult result)
597
public virtual
RSTR
EndIssue(IAsyncResult result)
604
if (!(result is TypedAsyncResult<
RSTR
>))
606
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID2012, typeof(TypedAsyncResult<
RSTR
>), result.GetType())));
609
return TypedAsyncResult<
RSTR
>.End(result);
617
public virtual
RSTR
EndRenew(IAsyncResult result)
627
public virtual
RSTR
EndValidate(IAsyncResult result)
684
public virtual
RSTR
Issue(ClaimsPrincipal principal, RST request)
767
RSTR
rstr = GetResponse(request, _tokenDescriptor);
805
TypedAsyncResult<
RSTR
> typedResult = state.Result as TypedAsyncResult<
RSTR
>;
808
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID2004, typeof(TypedAsyncResult<
RSTR
>), state.Result.GetType())));
921
RSTR
response = null;
923
TypedAsyncResult<
RSTR
> typedResult = state.Result as TypedAsyncResult<
RSTR
>;
926
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID2004, typeof(TypedAsyncResult<
RSTR
>), state.Result.GetType())));
1037
public virtual
RSTR
Renew(ClaimsPrincipal principal, RST request)
1048
public virtual
RSTR
Validate(ClaimsPrincipal principal, RST request)
System\IdentityModel\Tokens\AsymmetricProofDescriptor.cs (2)
6
using RSTR = System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
;
60
public override void ApplyTo(
RSTR
response )
System\IdentityModel\Tokens\ProofDescriptor.cs (2)
8
using RSTR = System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
;
21
public abstract void ApplyTo(
RSTR
response);
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (4)
17
using RSTR = System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
;
41
/// Gets or sets the address for the <see cref="
RequestSecurityTokenResponse
"/> AppliesTo property.
71
public virtual void ApplyTo(
RSTR
response)
110
/// Gets or sets the address for the <see cref="
RequestSecurityTokenResponse
"/> ReplyToAddress property.
System\IdentityModel\Tokens\SymmetricProofDescriptor.cs (2)
9
using RSTR = System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
;
233
public override void ApplyTo(
RSTR
response)
System.ServiceModel (48)
System\ServiceModel\Security\DispatchContext.cs (3)
9
using RSTR = System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
;
21
RSTR
responseMessage;
64
public
RSTR
ResponseMessage
System\ServiceModel\Security\IWSTrustChannelContract.cs (16)
24
/// <returns>The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</returns>
25
System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
Cancel(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request);
42
/// <param name="response">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</param>
43
void EndCancel(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
response);
56
/// <param name="response">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> that represents the response from
59
SecurityToken Issue(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
response);
76
/// <param name="response">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</param>
78
SecurityToken EndIssue(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
response);
84
/// <returns>The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</returns>
85
System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
Renew(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request);
102
/// <param name="response">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</param>
103
void EndRenew(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
response);
109
/// <returns>The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</returns>
110
System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
Validate(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request);
127
/// <param name="response">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</param>
128
void EndValidate(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
response);
System\ServiceModel\Security\WSTrustChannel.cs (24)
380
/// Deserializes a <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> from a <see cref="Message" />
385
/// The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> deserialized from <paramref name="response"/>.
387
protected virtual System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
ReadResponse(Message response)
457
public virtual SecurityToken GetTokenFromResponse(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
response)
590
System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
response)
636
internal static SecurityToken GetProofKey(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
response)
964
/// <returns>The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</returns>
965
public virtual System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
Cancel(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst)
977
System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
rstr = null;
985
/// <param name="rstr">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> that represents the response from
988
public virtual SecurityToken Issue(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
rstr)
1002
/// <returns>The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</returns>
1003
public virtual System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
Renew(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst)
1012
/// <returns>The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</returns>
1013
public virtual System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
Validate(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst)
1037
System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
EndOperation(IAsyncResult result, out WSTrustChannelAsyncResult tcar)
1076
/// <param name="rstr">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</param>
1077
public void EndCancel(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
rstr)
1102
/// <param name="rstr">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</param>
1104
public SecurityToken EndIssue(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
rstr)
1131
/// <param name="rstr">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</param>
1132
public void EndRenew(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
rstr)
1157
/// <param name="rstr">The <see cref="System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
" /> representing the STS response.</param>
1158
public void EndValidate(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
rstr)
System\ServiceModel\Security\WSTrustResponseBodyWriter.cs (3)
11
using RSTR = System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
;
19
RSTR
_rstr;
29
public WSTrustResponseBodyWriter(
RSTR
requestSecurityTokenResponse, WSTrustResponseSerializer serializer, WSTrustSerializationContext context)
System\ServiceModel\Security\WSTrustServiceContract.cs (2)
31
using RSTR = System.IdentityModel.Protocols.WSTrust.
RequestSecurityTokenResponse
;
414
if (dispatchContext.RequestMessage is
RSTR