Database.com REST API Developer's Guide - Salesforce.com
Database.com REST API Developer's Guide - Salesforce.com
Database.com REST API Developer's Guide - Salesforce.com
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Introducing Force.<strong>com</strong> <strong>REST</strong> <strong>API</strong>Understanding the User-Agent OAuth Authentication Flow1. The application redirects the user to the appropriate <strong>Database</strong>.<strong>com</strong> authorization endpoint, such ashttps://login.database.<strong>com</strong>/services/oauth2/authorize. The following parameters are required:Parameterresponse_typeclient_idredirect_uriDescriptionMust be token for this authentication flowThe Consumer Key from the remote access applicationdefinition.The Callback URL from the remote access applicationdefinition.The following parameters are optional:ParameterdisplayDescriptionChanges the login page’s display type. Valid values are:• page—Full-page authorization screen. This is the defaultvalue if none is specified.• popup—Compact dialog optimized for modern Webbrowser popup windows.• touch—Mobile-optimized dialog designed for modernsmartphones such as Android and iPhone.10