Show / Hide Table of Contents

Class BlockChallengeSettings

The challenge settings if action is set to BLOCK.

Inheritance
object
BlockChallengeSettings
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class BlockChallengeSettings

Properties

BlockAction

Declaration
[JsonProperty(PropertyName = "blockAction")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BlockChallengeSettings.BlockActionEnum? BlockAction { get; set; }
Property Value
Type Description
BlockChallengeSettings.BlockActionEnum?

The method used to block requests that fail the challenge, if action is set to BLOCK. If unspecified, defaults to SHOW_ERROR_PAGE.

BlockErrorPageCode

Declaration
[JsonProperty(PropertyName = "blockErrorPageCode")]
public string BlockErrorPageCode { get; set; }
Property Value
Type Description
string

The error code to show on the error page when action is set to BLOCK, blockAction is set to SHOW_ERROR_PAGE and the request is blocked. If unspecified, defaults to 403.

BlockErrorPageDescription

Declaration
[JsonProperty(PropertyName = "blockErrorPageDescription")]
public string BlockErrorPageDescription { get; set; }
Property Value
Type Description
string

The description text to show on the error page when action is set to BLOCK, blockAction is set to SHOW_ERROR_PAGE, and the request is blocked. If unspecified, defaults to Access blocked by website owner. Please contact support.

BlockErrorPageMessage

Declaration
[JsonProperty(PropertyName = "blockErrorPageMessage")]
public string BlockErrorPageMessage { get; set; }
Property Value
Type Description
string

The message to show on the error page when action is set to BLOCK, blockAction is set to SHOW_ERROR_PAGE, and the request is blocked. If unspecified, defaults to Access to the website is blocked.

BlockResponseCode

Declaration
[JsonProperty(PropertyName = "blockResponseCode")]
public int? BlockResponseCode { get; set; }
Property Value
Type Description
int?

The response status code to return when action is set to BLOCK, blockAction is set to SET_RESPONSE_CODE or SHOW_ERROR_PAGE, and the request is blocked. If unspecified, defaults to 403. The list of available response codes: 200, 201, 202, 204, 206, 300, 301, 302, 303, 304, 307, 400, 401, 403, 404, 405, 408, 409, 411, 412, 413, 414, 415, 416, 422, 444, 494, 495, 496, 497, 499, 500, 501, 502, 503, 504, 507.

CaptchaFooter

Declaration
[JsonProperty(PropertyName = "captchaFooter")]
public string CaptchaFooter { get; set; }
Property Value
Type Description
string

The text to show in the footer when showing a CAPTCHA challenge when action is set to BLOCK, blockAction is set to SHOW_CAPTCHA, and the request is blocked. If unspecified, default to Enter the letters and numbers as they are shown in image above.

CaptchaHeader

Declaration
[JsonProperty(PropertyName = "captchaHeader")]
public string CaptchaHeader { get; set; }
Property Value
Type Description
string

The text to show in the header when showing a CAPTCHA challenge when action is set to BLOCK, blockAction is set to SHOW_CAPTCHA, and the request is blocked. If unspecified, defaults to We have detected an increased number of attempts to access this webapp. To help us keep this webapp secure, please let us know that you are not a robot by entering the text from captcha below.

CaptchaSubmitLabel

Declaration
[JsonProperty(PropertyName = "captchaSubmitLabel")]
public string CaptchaSubmitLabel { get; set; }
Property Value
Type Description
string

The text to show on the label of the CAPTCHA challenge submit button when action is set to BLOCK, blockAction is set to SHOW_CAPTCHA, and the request is blocked. If unspecified, defaults to Yes, I am human.

CaptchaTitle

Declaration
[JsonProperty(PropertyName = "captchaTitle")]
public string CaptchaTitle { get; set; }
Property Value
Type Description
string

The title used when showing a CAPTCHA challenge when action is set to BLOCK, blockAction is set to SHOW_CAPTCHA, and the request is blocked. If unspecified, defaults to Are you human?

In this article
Back to top