| 7 | ) |
| 8 | |
| 9 | type AnomalyAPI interface { |
| 10 | // Check if a given IP address is blocked via the multiple user accounts |
| 11 | // trigger due to multiple failed logins. |
| 12 | // |
| 13 | // See: https://auth0.com/docs/api/management/v2#!/Anomaly/get_ips_by_id |
| 14 | CheckIP(ctx context.Context, ip string, opts ...management.RequestOption) (isBlocked bool, err error) |
| 15 | |
| 16 | // Unblock an IP address currently blocked by the multiple user accounts |
| 17 | // trigger due to multiple failed logins. |
| 18 | // |
| 19 | // See: https://auth0.com/docs/api/management/v2#!/Anomaly/delete_ips_by_id |
| 20 | UnblockIP(ctx context.Context, ip string, opts ...management.RequestOption) (err error) |
| 21 | } |
no outgoing calls
no test coverage detected