This uses the Salesforce Username-Password Flow to get an access token.
This uses the Salesforce Username-Password Flow to get an access token.
https://help.salesforce.com/apex/HTViewHelpDoc?id=remoteaccess_oauth_username_password_flow.htm https://www.salesforce.com/us/developer/docs/api_rest/Content/intro_understanding_username_password_oauth_flow.htm