PXPolicyUrlRequestInterceptionType

The URL request interception type.

Entries

Link copied to clipboard

The SDK does not intercept URL requests at all.

Link copied to clipboard

The SDK intercepts URL requests in order to add HTTP headers and handle block responses.

Link copied to clipboard

Same as `INTERCEPT`. The SDK delays the error response to your app until the user solve or cancel the challenge.

Link copied to clipboard

Same as `INTERCEPT_WITH_DELAYED_RESPONSE`. When the user solves the challenge, the SDK will retry the original request. While the SDK is sending the request again, the code that fired the request is still waiting for the response. The SDK will retry each request only one time. If the user will be presented with another challenge, the SDK will return an error, similar to INTERCEPT_AND_DELAY_RESPONSE_UNTIL_CHALLENGE_SOLVED_OR_CANCELLED. Notice that while the Doctor App is enabled, the SDK won't retry the request.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int