Class: Rack::Session::Abstract::PersistedSecure

Inherits:
Persisted
  • Object
show all
Defined in:
lib/rack/session/abstract/id.rb

Direct Known Subclasses

Cookie, Pool

Defined Under Namespace

Classes: SecureSessionHash

Constant Summary

Constants inherited from Persisted

Rack::Session::Abstract::Persisted::DEFAULT_OPTIONS

Instance Attribute Summary

Attributes inherited from Persisted

#default_options, #key, #sid_secure

Instance Method Summary collapse

Methods inherited from Persisted

#call, #commit_session, #context, #initialize

Constructor Details

This class inherits a constructor from Rack::Session::Abstract::Persisted

Instance Method Details

#extract_session_idObject


476
477
478
479
# File 'lib/rack/session/abstract/id.rb', line 476

def extract_session_id(*)
  public_id = super
  public_id && SessionId.new(public_id)
end

#generate_sidObject


470
471
472
473
474
# File 'lib/rack/session/abstract/id.rb', line 470

def generate_sid(*)
  public_id = super

  SessionId.new(public_id)
end