Navigation
Evaluations
Evaluations are used to determine if an action should be allowed, denied, or if a challenge should be triggered. To evaluate an action, call the evaluate function like so:
const { verdict, reasons, challenge_id } = await Rupt.evaluate({
action: "login",
user: "USER_ID",
fingerprint: "FINGERPRINT_HASH", // First value from the rupt client sdk `getHash` method (current fingerprint)
last_fingerprint: "LAST_FINGERPRINT_HASH", // Second value from the rupt client sdk `getHash` method (last saved fingerprint)
version: "2.32.0",
ip: "IP_ADDRESS",
});