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



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

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

#generate_sidObject



465
466
467
468
469
# File 'lib/rack/session/abstract/id.rb', line 465

def generate_sid(*)
  public_id = super

  SessionId.new(public_id)
end