Navigation
Retrieve a device hash
Retrieve the hash of a specific device. This can be used to evaluate a user during an evaluation. For more information, see Evaluate a user.
Parameters
No parameters
Returns
Returns a fingerprint hash array. The first value is the current fingerprint hash and the second value is the last saved fingerprint hash. Pass these as the
fingerprint and last_fingerprint parameters respectively when calling evaluate an action.
GET
import { getHash } from 'rupt';
const hash = await getHash();
Response
[
"649873be6e8b6f9b33722a0c...",
"649873be6e8b6f9b33722a0c..."
]