Export (0) Print
Expand All

WSFederationAuthenticationModule.CanReadSignInResponse Method (HttpRequestBase)

.NET Framework 4.5

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)

public bool CanReadSignInResponse(
	HttpRequestBase request
)

Parameters

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.

ExceptionCondition
ArgumentNullException

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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft