DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.
addHeader(headerName, value) Add a header to the request.
void
executeAsyncRequest(username, password, workstation, domain, successCallbackMethod, errorCallbackMethod) Execute the request method asynchronous using windows authentication.
void
executeAsyncRequest(username, password, successCallbackMethod, errorCallbackMethod) Execute the request method asynchronous.
void
executeAsyncRequest(successCallbackMethod, errorCallbackMethod) Execute the request method asynchronous.
Execute the request method asynchronous using windows authentication. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.
Parameters
{String} username - the user name {String} password - the password {String} workstation - The workstation the authentication request is originating from. {String} domain - The domain to authenticate within. {Function} successCallbackMethod - callbackMethod to be called after response is received {Function} errorCallbackMethod - callbackMethod to be called if request errors out
Execute the request method asynchronous. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.
Parameters
{String} username - the user name {String} password - the password {Function} successCallbackMethod - callbackMethod to be called after response is received {Function} errorCallbackMethod - callbackMethod to be called if request errors out
Execute the request method asynchronous. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.
Parameters
{Function} successCallbackMethod - callbackMethod to be called after response is received {Function} errorCallbackMethod - callbackMethod to be called if request errors out
Execute a request method using windows authentication.
Parameters
{String} userName - the user name {String} password - the password {String} workstation - The workstation the authentication request is originating from. {String} domain - The domain to authenticate within.