WSFederationAuthenticationModule::CanReadSignInResponse Method (HttpRequestBase^)

.NET Framework (current version)

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

Returns a value that indicates whether the specified HTTP request is a WS-Federation sign-in response message. If the message is a WS-Federation sign-out clean-up message (“wsignoutcleanup1.0”), this method processes the request.

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

bool CanReadSignInResponse(
	HttpRequestBase^ request


Type: System.Web::HttpRequestBase^

The incoming HTTP request.

Return Value

Type: System::Boolean

true if the specified HTTP request contains a form POST in which the wa parameter is set to “wsignout1.0” and the wresult parameter is not empty; otherwise false.

Exception Condition

request is null.

This method is invoked from the request processing pipeline to determine whether the incoming HTTP request is a FORM post that contains a WS-Federation sign-in response message.

It invokes the WSFederationAuthenticationModule::CanReadSignInResponse(HttpRequestBase^, Boolean) overload with the onPage parameter set false to indicate that the call did not originate while processing a page.

.NET Framework
Available since 4.5
Return to top