CanReadSignInResponse Method (HttpRequestBase)
Collapse the table of content
Expand the table of content

WSFederationAuthenticationModule.CanReadSignInResponse Method (HttpRequestBase)

.NET Framework (current version)
 

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.

Exception Condition
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
Available since 4.5
Return to top
Show:
© 2016 Microsoft