splunk/splunk-sdk-javascript — pull request #2 by itay (2012-04-24 22:21:24+00:00)
Title: Autologin

This branch adds an autologin feature. It has two components:

1. If a username/password is specified, then by default, an attempt to login will be made if no session key is present.
2. If a username/password is specified, then by default, any request that returns a 401 will attempt to login again.