Sha256: d52eff988487a1c981734ced8ebb1460ec24684c947bc2819e4e25df0684bedb
Contents?: true
Size: 387 Bytes
Versions: 14
Compression:
Stored size: 387 Bytes
Contents
module SwitchUser module Provider class Clearance < Base def initialize(controller) @controller = controller end def login(user, scope = nil) @controller.sign_in(user) end def logout(scope = nil) @controller.sign_out end def current_user(scope = nil) @controller.current_user end end end end
Version data entries
14 entries across 14 versions & 1 rubygems