WSFederationAuthenticationModule.IsSignInResponse(HttpRequestBase) Method

Definition

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

public:
 virtual bool IsSignInResponse(System::Web::HttpRequestBase ^ request);
public virtual bool IsSignInResponse (System.Web.HttpRequestBase request);
abstract member IsSignInResponse : System.Web.HttpRequestBase -> bool
override this.IsSignInResponse : System.Web.HttpRequestBase -> bool
Public Overridable Function IsSignInResponse (request As HttpRequestBase) As Boolean

Parameters

request
HttpRequestBase

The incoming HTTP request.

Returns

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

Exceptions

request is null.

Remarks

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.

Applies to