You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fetches all breaches and all pastes associated with the provided account
386
386
(email address or username). Note that the remote API does not support
387
387
querying pastes by username (only email addresses), so in the event the
@@ -408,12 +408,12 @@ rejects with an Error
408
408
| Param | Type | Description |
409
409
| --- | --- | --- |
410
410
| account | <code>string</code> | an email address or username |
411
-
|[breachOptions]| <code>object</code> | a configuration object pertaining to breach queries|
412
-
|[breachOptions.apiKey]| <code>string</code> | an API key from https://haveibeenpwned.com/API/Key|
413
-
|[breachOptions.domain]| <code>string</code> | a domain by which to filter the results (default: all domains) |
414
-
|[breachOptions.truncate]| <code>boolean</code> | truncate the results to only include the name of each breach (default: true) |
415
-
|[breachOptions.baseUrl]| <code>string</code> | a custom base URL for the haveibeenpwned.com API endpoints (default: `https://haveibeenpwned.com/api/v3`) |
416
-
|[breachOptions.userAgent]| <code>string</code> | a custom string to send as the User-Agent field in the request headers (default: `hibp <version>`) |
411
+
|[options]| <code>object</code> | a configuration object |
412
+
|[options.apiKey]| <code>string</code> | an API key from https://haveibeenpwned.com/API/Key|
413
+
|[options.domain]| <code>string</code> | a domain by which to filter the breach results (default: all domains) |
414
+
|[options.truncate]| <code>boolean</code> | truncate the breach results to only include the name of each breach (default: true) |
415
+
|[options.baseUrl]| <code>string</code> | a custom base URL for the haveibeenpwned.com API endpoints (default: `https://haveibeenpwned.com/api/v3`) |
416
+
|[options.userAgent]| <code>string</code> | a custom string to send as the User-Agent field in the request headers (default: `hibp <version>`) |
0 commit comments