Class: Auth::Centric::SecurityCaptcha

Inherits:
Object
  • Object
show all
Includes:
Captcha::CheckCode, Captcha::Delete, Captcha::Retrieve, Common::Settings
Defined in:
lib/auth/centric/firewall.rb,
sig/auth/centric/security_captcha.rbs

Instance Method Summary collapse

Methods included from Captcha::Delete

#delete_captcha, #delete_path

Methods included from Captcha::CheckCode

#check_code_path, #verify_code?

Methods included from Captcha::Retrieve

#find_or_create_path, #retrieve_captcha

Methods included from Common::Settings

#apikey, #app_id, #enabled?, #host, #ip, #timeout_seconds

Constructor Details

#initialize(ip_address:, session_id:) ⇒ SecurityCaptcha

Returns a new instance of SecurityCaptcha.



94
95
96
97
# File 'lib/auth/centric/firewall.rb', line 94

def initialize(ip_address:, session_id:)
  @ip_address = ip_address
  @session_id = session_id
end