lib/warden/test/helpers.rb
# Logs out a user from the session.
# Without arguments, all users will be logged out
# Provide a list of scopes to only log out users with that scope.
# @see Warden::Proxy#logout
# @api public
Logs out a user from the session.
Without arguments, all users will be logged out
Provide a list of scopes to only log out users with that scope.
Logs out a user from the session . Without arguments all users will be logged out Provide a list of scopes to only log out users with that scope .
def logout(*scopes)
        Warden.on_next_request do |proxy|
          proxy.logout(*scopes)
        end
      end
def logout ( * scopes ) Warden . on_next_request do | proxy | proxy . logout ( * scopes ) end end
Logs out a user from the session.
Logs out a user from the session .
scopes
<not_specific>
see
None
api
None