WSFederationMessage.CreateFromFormPost(HttpRequestBase) Method

Definition

Creates a WS-Federation message from the form post received in the specified request.

public static System.IdentityModel.Services.WSFederationMessage CreateFromFormPost (System.Web.HttpRequestBase request);

Parameters

request
HttpRequestBase

The request that contains the form post.

Returns

The message that was created or null if a message cannot be created.

Exceptions

request is null.

Remarks

If a message can be created, the method returns an appropriate implementation of WSFederationMessage based on the wa parameter submitted in the form post; for example, if wa parameter is "wsignout1.0" then a SignOutRequestMessage object is returned.

Gets the base URL and the collection of form variables submitted by the client from the request and invokes the CreateFromNameValueCollection method.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also