WSFederationAuthenticationModule.GetReferencedResult(String) Method

Definition

Gets the issuance result (typically the issued token) from the specified URL. Resolves the URL specified in the wresultptr parameter in a sign-in response message.

protected:
 virtual System::String ^ GetReferencedResult(System::String ^ resultPtr);
protected virtual string GetReferencedResult (string resultPtr);
abstract member GetReferencedResult : string -> string
override this.GetReferencedResult : string -> string
Protected Overridable Function GetReferencedResult (resultPtr As String) As String

Parameters

resultPtr
String

The URL that specifies the address of the issuance result.

Returns

The issuance result that was referenced by the URL.

Exceptions

This method is not supported in the base class. You must override it in a derived class.

Remarks

Called by the WSFederationAuthenticationModule.GetXmlTokenFromMessage(SignInResponseMessage) method from inside the processing pipeline to resolve the URL specified in the wresultptr parameter in the sign-in response message received from a security token service (STS).

By default this method throws a NotSupportedException. Override this method in a derived class to support the wresultptr parameter. The URL points to the issuance result, which should be one of the following: a <wst:RequestSecurityTokenResponse> element, a <wst:RequestSecurityTokenResponseCollection> element, a SOAP response, or a SOAP <S:Fault> element.

Applies to