SPFederationAuthenticationModule.IsSignInResponse method (HttpRequest)
Verifies whether the request is a sign-in response message from the security token service (STS).
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Public Overridable Function IsSignInResponse ( _
request As HttpRequest _
) As Boolean
'Usage
Dim instance As SPFederationAuthenticationModule
Dim request As HttpRequest
Dim returnValue As Boolean
returnValue = instance.IsSignInResponse(request)
public virtual bool IsSignInResponse(
HttpRequest request
)
Parameters
request
Type: System.Web.HttpRequestThe request to verify.
Return value
Type: System.Boolean
true if the request is a sign-in response message; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | request is null . |
Remarks
This override returns false if the HTTP data transfer method is not POST, the request has been authenticated, or the cookie storing the session security token for the user already exists.
See also
Reference
SPFederationAuthenticationModule class