WSFederationAuthenticationModule.GetReferencedResult Method

.NET Framework 4.5

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
)

Parameters

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.

ExceptionCondition
NotSupportedException

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

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft