Class: Auth0::AttackProtection::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/auth0/attack_protection/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ void

Parameters:



9
10
11
# File 'lib/auth0/attack_protection/client.rb', line 9

def initialize(client:)
  @client = client
end

Instance Method Details

#bot_detectionAuth0::BotDetection::Client

Returns:

  • (Auth0::BotDetection::Client)


14
15
16
# File 'lib/auth0/attack_protection/client.rb', line 14

def bot_detection
  @bot_detection ||= Auth0::AttackProtection::BotDetection::Client.new(client: @client)
end

#breached_password_detectionAuth0::BreachedPasswordDetection::Client

Returns:

  • (Auth0::BreachedPasswordDetection::Client)


19
20
21
# File 'lib/auth0/attack_protection/client.rb', line 19

def breached_password_detection
  @breached_password_detection ||= Auth0::AttackProtection::BreachedPasswordDetection::Client.new(client: @client)
end

#brute_force_protectionAuth0::BruteForceProtection::Client

Returns:

  • (Auth0::BruteForceProtection::Client)


24
25
26
# File 'lib/auth0/attack_protection/client.rb', line 24

def brute_force_protection
  @brute_force_protection ||= Auth0::AttackProtection::BruteForceProtection::Client.new(client: @client)
end

#captchaAuth0::Captcha::Client

Returns:

  • (Auth0::Captcha::Client)


29
30
31
# File 'lib/auth0/attack_protection/client.rb', line 29

def captcha
  @captcha ||= Auth0::AttackProtection::Captcha::Client.new(client: @client)
end

#suspicious_ip_throttlingAuth0::SuspiciousIPThrottling::Client

Returns:

  • (Auth0::SuspiciousIPThrottling::Client)


34
35
36
# File 'lib/auth0/attack_protection/client.rb', line 34

def suspicious_ip_throttling
  @suspicious_ip_throttling ||= Auth0::AttackProtection::SuspiciousIPThrottling::Client.new(client: @client)
end