Module: RackCAS::RedisStore

Included in:
ActionDispatch::Session::RackCasRedisStore, Rack::Session::RackCASRedisStore
Defined in:
lib/rack-cas/session_store/redis.rb

Defined Under Namespace

Classes: Session

Class Method Summary collapse

Class Method Details

.destroy_session_by_cas_ticket(cas_ticket) ⇒ Object



43
44
45
46
# File 'lib/rack-cas/session_store/redis.rb', line 43

def self.destroy_session_by_cas_ticket(cas_ticket)
  affected = Session.destroy_by_cas_ticket(cas_ticket)
  affected == 1
end

.prune(after = nil) ⇒ Object

we don’t need to prune because the keys expire automatically



49
50
# File 'lib/rack-cas/session_store/redis.rb', line 49

def self.prune(after = nil)
end