lib/rails_warden/authentication.rb
# Proxy to the authenticate method on warden
# :api: public
Proxy to the authenticate method on warden
:api: public
Proxy to the authenticate method on warden : api : public
def authenticate!(*args)
      defaults = {action: RailsWarden.unauthenticated_action}
      if args.last.is_a? Hash
        args[-1] = defaults.merge(args.last)
      else
        args << defaults
      end
      warden.authenticate!(*args)
    end
def authenticate! ( * args ) defaults = { action : RailsWarden . unauthenticated_action } if args . last . is_a? Hash args [ - 1 ] = defaults . merge ( args . last ) else args << defaults end warden . authenticate! ( * args ) end
Proxy to the authenticate method on warden
:api: public
Proxy to the authenticate method on warden : api : public
args
<not_specific>