vendor/bundle/gems/warden-1.2.3/lib/warden/proxy.rb
# Same API as authenticated, but returns a boolean instead of a user.
# The difference between this method (authenticate?) and authenticated?
# is that the former will run strategies if the user has not yet been
# authenticated, and the second relies on already performed ones.
# :api: public
Same API as authenticated, but returns a boolean instead of a user.
The difference between this method (authenticate?) and authenticated.
is that the former will run strategies if the user has not yet been
authenticated, and the second relies on already performed ones.
:api: public
Same API as authenticated but returns a boolean instead of a user . The difference between this method ( authenticate? ) and authenticated . is that the former will run strategies if the user has not yet been authenticated and the second relies on already performed ones . : api : public
def authenticate?(*args)
      result = !!authenticate(*args)
      yield if result && block_given?
      result
    end
def authenticate? ( * args ) result = ! ! authenticate ( * args ) yield if result && block_given? result end
Same API as authenticated, but returns a boolean instead of a user.
Same API as authenticated but returns a boolean instead of a user .
args
<not_specific>