Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
WithRawResponse *RawClient
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *core.RequestOptions) *Client
func (*Client) CheckIP ¶
func (c *Client) CheckIP( ctx context.Context, id management.AnomalyIPFormat, opts ...option.RequestOption, ) error
Check if the given IP address is blocked via the <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> due to multiple suspicious attempts.
func (*Client) UnblockIP ¶
func (c *Client) UnblockIP( ctx context.Context, id management.AnomalyIPFormat, opts ...option.RequestOption, ) error
Remove a block imposed by <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> for the given IP address.
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) CheckIP ¶
func (r *RawClient) CheckIP( ctx context.Context, id management.AnomalyIPFormat, opts ...option.RequestOption, ) (*core.Response[any], error)
func (*RawClient) UnblockIP ¶
func (r *RawClient) UnblockIP( ctx context.Context, id management.AnomalyIPFormat, opts ...option.RequestOption, ) (*core.Response[any], error)
Click to show internal directories.
Click to hide internal directories.