MCPcopy Create free account
hub / github.com/auth0/auth0-cli / AnomalyAPI

Interface AnomalyAPI

internal/auth0/anomaly.go:9–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type 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}

Callers 2

checkIPCmdFunction · 0.80
unblockIPCmdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected