WSFederationAuthenticationModule.GetSignInResponseMessage Method (HttpRequestBase)

.NET Framework (current version)
 

Reads a SignInResponseMessage object from the form POST represented by the specified HTTP request.

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

abstract GetSignInResponseMessage : 
        request:HttpRequestBase -> SignInResponseMessage
override GetSignInResponseMessage : 
        request:HttpRequestBase -> SignInResponseMessage

Parameters

request
Type: System.Web.HttpRequestBase

The HTTP request from which to read the sign-in response message. The request should represent a form POST.

Return Value

Type: System.IdentityModel.Services.SignInResponseMessage

The sign-in response message that was created.

Exception Condition
ArgumentNullException

request is null.

InvalidOperationException

A sign-in response message could not be read from the specified request.

Called from the WSFederationAuthenticationModule.GetSecurityToken(HttpRequestBase) method in the request processing pipeline to get a sign-in response message from the form POST contained in the HTTP request.

.NET Framework
Available since 4.5
Return to top
Show: