Sha256: 154acc2be4989bb3713d4257db286f12ac6dead8efa06010dda7b71512c6b6a3
Contents?: true
Size: 486 Bytes
Versions: 22
Compression:
Stored size: 486 Bytes
Contents
# frozen_string_literal: true module Devise module Hooks # A small warden proxy so we can remember, forget and # sign out users from hooks. class Proxy #:nodoc: include Devise::Controllers::Rememberable include Devise::Controllers::SignInOut attr_reader :warden delegate :cookies, :request, to: :warden def initialize(warden) @warden = warden end def session warden.request.session end end end end
Version data entries
22 entries across 22 versions & 3 rubygems