HSBot Defender Delegate
interface HSBotDefenderDelegate
Functions
Link copied to clipboard
Called when the challenge was cancelled.
Link copied to clipboard
Called when the challenge rendered successfully.
Link copied to clipboard
Called when the challenge failed to render.
Link copied to clipboard
Called when the challenge was solved.
Link copied to clipboard
open fun botDefenderChallengeSolvedWithError(reason: HSBotDefenderChallengeFailureReason, appId: String)
Called when the user solved the challenge but the SDK could not finalize the pass. The reason is HSBotDefenderChallengeFailureReason.NETWORK_ERROR when startup is incomplete, local token persistence fails, or the post-solve token refresh times out or throws (e.g. connectivity, SSL, pinning).
Link copied to clipboard
Called when the HTTP headers were changed. You may store and use those headers instead of calling the `headersForURLRequest(forAppId:)` function for every URL request.
Link copied to clipboard
Called when a request was blocked.