Scenario: Using OAuth2 to log in to Salesforce.com
In this scenario, the OAuth2 (Open Authorization 2.0)
method is adopted to authorize tSalesforceConnection to
access the Salesforce.com resources. This way, better security is achieved as users do not
need entering their Salesforce username/password directly on tSalesforceConnection, which is required by the Basic login type instead.