Sha256: 91ff8a39f1cf854fc981c7155065cfce7142c60eb98c5f8e249f1a98acb0b244
Contents?: true
Size: 465 Bytes
Versions: 9
Compression:
Stored size: 465 Bytes
Contents
module Sso module Warden module Hooks class SessionCheck include ::Sso::Warden::Support def call debug { "Starting hook after user is fetched into the session" } unless logged_in? && Sso::Session.find_by_id(session["sso_session_id"]).try(:active?) warden.logout(scope) throw(:warden, :scope => scope, :reason => "Sso::Session INACTIVE") end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems