Click or drag to resize

AuthenticationFailureResult Constructor

Namespace:  GSF.Web.Security
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.101-beta
Syntax
public AuthenticationFailureResult(
	string reasonPhrase,
	HttpRequestMessage requestMessage,
	HttpStatusCode statusCode,
	string redirectLocation = null
)
Request Example View Source

Parameters

reasonPhrase
Type: SystemString
Phrase that describes reason for authorization failure.
requestMessage
Type: System.Net.HttpHttpRequestMessage
HTTP request message to use as the source of the response.
statusCode
Type: System.NetHttpStatusCode
HTTP status code to return for authorization failure.
redirectLocation (Optional)
Type: SystemString
HTTP redirect location, if used.
See Also