Module: Auth0::Api::V2::AttackProtection

Included in:
Auth0::Api::V2
Defined in:
lib/auth0/api/v2/attack_protection.rb

Overview

Methods to use the attack-protection endpoints

Instance Method Summary collapse

Instance Method Details

#breached_password_detectionjson Also known as: get_breached_password_detection_settings

Get breached password detection settings

Returns:

  • (json)

    The configuration for breached password detection

See Also:



11
12
13
# File 'lib/auth0/api/v2/attack_protection.rb', line 11

def breached_password_detection
  get(breached_password_settings_path)
end

#brute_force_protectionjson Also known as: get_brute_force_protection_settings

Get brute force protection settings.

Returns:

  • (json)

    The configuration for brute force protection

See Also:



27
28
29
# File 'lib/auth0/api/v2/attack_protection.rb', line 27

def brute_force_protection
  get(brute_force_protection_settings_path)
end

#patch_breached_password_detection(body) ⇒ json Also known as: update_breached_password_detection_settings

Update breached password detection settings

Parameters:

Returns:

  • (json)

    The configuration for breached password detection

See Also:



20
21
22
# File 'lib/auth0/api/v2/attack_protection.rb', line 20

def patch_breached_password_detection(body)
  patch(breached_password_settings_path, body)
end

#patch_brute_force_protection(body) ⇒ json Also known as: update_brute_force_protection_settings

Update brute force protection settings.

Parameters:

Returns:

  • (json)

    The configuration for brute force protection

See Also:



36
37
38
# File 'lib/auth0/api/v2/attack_protection.rb', line 36

def patch_brute_force_protection(body)
  patch(brute_force_protection_settings_path, body)
end

#patch_suspicious_ip_throttling(body) ⇒ Object Also known as: update_suspicious_ip_throttling_settings

Update suspicious IP throttling settings

Parameters:

Returns:

  • The configuration for suspicious IP throttling

See Also:



53
54
55
# File 'lib/auth0/api/v2/attack_protection.rb', line 53

def patch_suspicious_ip_throttling(body)
  patch(suspicious_ip_throttling_settings_path, body)
end

#suspicious_ip_throttlingObject Also known as: get_suspicious_ip_throttling_settings

Get suspicious IP throttling settings

Returns:

  • The configuration for suspicious IP throttling

See Also:



44
45
46
# File 'lib/auth0/api/v2/attack_protection.rb', line 44

def suspicious_ip_throttling
  get(suspicious_ip_throttling_settings_path)
end