NAME
Articulate::Service::Login - provide login, logout
METHODS
handle_login
$self->handle_login( {user_id => 'admin', password => 'secret!' } )
Tries to authenticate a user and, if successful, sets a session var (see Articulate::FrameworkAdapter).
Returns {user_id => $user_id } if successful, throws an error otherwise.
handle_logout
$self->handle_login( {user_id => 'admin', password => 'secret!' } )
Destroys the current session.
Returns {user_id => $user_id }.