validate

open suspend override fun validate(attestationProof: AttestationProof): ChallengeValidationResult(source)

The contract of this function is that it returns a ChallengeValidationResult.Success iff a valid challenge matching the attestationProof from the client is found. In all other cases, it must return a ChallengeValidationResult.Failure: