DefaultChallengeWorker

The default challenge worker will perform the work on the calling thread. The SHA-256 challenges are fairly inexpensive and the overhead of switching threads is similar to the work itself done.

Functions

Link copied to clipboard
open override fun <T : ChallengeType<*>, V : ChallengeVerifier<T>> verify(result: Long, challenge: T, verifier: V): CompletableFuture<Boolean>

Verifies the result sent by the client.