WSFederationAuthenticationModule.GetReferencedResult Method (String)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

protected virtual string GetReferencedResult(
	string resultPtr


Type: System.String

The URL that specifies the address of the issuance result.

Return Value

Type: System.String

The issuance result that was referenced by the URL.

Exception Condition

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

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.

.NET Framework
Available since 4.5
Return to top