Exception: Authorio::Exceptions::SessionReplayAttack

Inherits:
StandardError
  • Object
show all
Defined in:
lib/authorio/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(session) ⇒ SessionReplayAttack

Returns a new instance of SessionReplayAttack.



12
13
14
15
# File 'lib/authorio/exceptions.rb', line 12

def initialize(session)
  super("Session replay attack on user account #{session.authorio_user.id}")
  @session = session
end

Instance Attribute Details

#sessionObject

Returns the value of attribute session.



10
11
12
# File 'lib/authorio/exceptions.rb', line 10

def session
  @session
end