User Intel | Java SDK
Look up breached users
breached(UserBreachedRequest request)Determine if an email address, username, phone number, or IP address was exposed in a security breach.
UserBreachedRequest request = new UserBreachedRequest
.Builder()
.phoneNumber("8005550123")
.build();
UserBreachedResponse response = client.breached(request);
Look up breached users V2
breachedBulk(UserBreachedBulkRequest request)Determine if an email address, username, phone number, or IP address was exposed in a security breach.
String[] phoneNumbers = {"8005550123"};
UserBreachedBulkRequest request = new UserBreachedBulkRequest
.Builder()
.phoneNumbers(phoneNumbers)
.build();
UserBreachedBulkResponse response = client.breachedBulk(request);
Look up breached passwords
breached(UserPasswordBreachedRequest request)Determine if a password has been exposed in a security breach using a 5 character prefix of the password hash.
UserPasswordBreachedRequest request = new UserPasswordBreachedRequest
.Builder(HashType.SHA256, "5baa6")
.build();
UserPasswordBreachedResponse response = client.breached(request);
Look up breached passwords V2
breachedBulk(UserPasswordBreachedBulkRequest request)Determine if a password has been exposed in a security breach using a 5 character prefix of the password hash.
String[] hashPrefixes = {"5baa6"};
UserPasswordBreachedBulkRequest request = new UserPasswordBreachedBulkRequest
.Builder(HashType.SHA256, hashPrefixes)
.build();
UserPasswordBreachedBulkResponse response = client.breachedBulk(request);