class Warden::Strategies::Base
def success!(user, message = nil)
user - The user object to login. This object can be anything you have setup to serialize in and out of the session
Parameters:
It is the "login" method
This will halt the strategy, and set the user in the appropriate scope.
Whenever you want to provide a user object as "authenticated" use the +success!+ method.
def success!(user, message = nil) halt! @user = user @message = message @result = :success end