WSFederationAuthenticationModule.IsSignInResponse 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.

Gets a value that indicates whether the specified request is a WS-Federation sign-in response message.

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

public virtual bool IsSignInResponse(
	HttpRequestBase request


Type: System.Web.HttpRequestBase

The incoming HTTP request.

Return Value

Type: System.Boolean

true if the request is a WS-Federation sign-in response message; otherwise false.

Exception Condition

request is null.

This method is called from the CanReadSignInResponse method in the request processing pipeline to determine whether the incoming HTTP request is a WS-Federation sign-in response message.

The default implementation returns true if the wa parameter is “wsignin1.0” and the wreq and wreqptr parameters are not both set.

You can override this method in derived classes to perform additional validation.

.NET Framework
Available since 4.5
Return to top