Interface RandomValueValidator
- All Known Implementing Classes:
BasicRandomValueValidator
public interface RandomValueValidator
Interface for validating random values.
The RandomValueValidator interface defines the contract for implementing classes that are responsible for validating a given text body against a random value.
-
Method Summary
Modifier and TypeMethodDescriptionValidates the provided text body against the given random value.
-
Method Details
-
validate
Validates the provided text body against the given random value.This method takes a random value and a text body as input parameters and performs validation to determine if the random value is found within the provided text body.
- Parameters:
randomValue
- the random value to validate againsttextBody
- the text body to check for the presence of the random value- Returns:
- a
ChallengeValidationResponse
containing the validation result
-