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
-
#breached_password_detection ⇒ json
(also: #get_breached_password_detection_settings)
Get breached password detection settings.
-
#brute_force_protection ⇒ json
(also: #get_brute_force_protection_settings)
Get brute force protection settings.
-
#patch_breached_password_detection(body) ⇒ json
(also: #update_breached_password_detection_settings)
Update breached password detection settings.
-
#patch_brute_force_protection(body) ⇒ json
(also: #update_brute_force_protection_settings)
Update brute force protection settings.
-
#patch_suspicious_ip_throttling(body) ⇒ Object
(also: #update_suspicious_ip_throttling_settings)
Update suspicious IP throttling settings.
-
#suspicious_ip_throttling ⇒ Object
(also: #get_suspicious_ip_throttling_settings)
Get suspicious IP throttling settings.
Instance Method Details
#breached_password_detection ⇒ json Also known as: get_breached_password_detection_settings
Get breached password detection settings
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_protection ⇒ json Also known as: get_brute_force_protection_settings
Get brute force protection settings.
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
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.
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
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_throttling ⇒ Object Also known as: get_suspicious_ip_throttling_settings
Get suspicious IP throttling settings
44 45 46 |
# File 'lib/auth0/api/v2/attack_protection.rb', line 44 def suspicious_ip_throttling get(suspicious_ip_throttling_settings_path) end |