Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 524 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 524 Bytes

friendlycaptcha-api

A lightweight java library to validate FriendlyCaptcha solutions in Java Services.

Usage

FRCSolutionValidator validator = FRCSolutionValidator
                  .builder()
                    .secret("<your frc api key>")
                    .sitekey("<your frc sitekey>") // optional
                  .build();

if (validator.isValidSolution(solution)) { // solution coming from frc js
  // let person in
} else {
  // consider person a robot
}