Class: DeviseCasAuthenticatable::SingleSignOut::StoreSessionId
- Inherits:
-
Object
- Object
- DeviseCasAuthenticatable::SingleSignOut::StoreSessionId
- Defined in:
- lib/devise_cas_authenticatable/single_sign_out/rack.rb
Constant Summary collapse
- CAS_TICKET_STORE =
'cas_last_valid_ticket_store'
- CAS_LAST_TICKET =
'cas_last_valid_ticket'
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ StoreSessionId
constructor
A new instance of StoreSessionId.
Constructor Details
#initialize(app) ⇒ StoreSessionId
Returns a new instance of StoreSessionId.
8 9 10 |
# File 'lib/devise_cas_authenticatable/single_sign_out/rack.rb', line 8 def initialize(app) @app = app end |
Instance Method Details
#call(env) ⇒ Object
12 13 14 15 |
# File 'lib/devise_cas_authenticatable/single_sign_out/rack.rb', line 12 def call(env) store_session_id_for_cas_ticket(env) @app.call(env) end |