Class AppInfo
Your app's API key and secret.
public
string
|
#
getKey( )
Your Dropbox app key (OAuth calls this the consumer key). You can create an app key and secret on the Dropbox developer website. |
public
string
|
#
getSecret( )
Your Dropbox app secret (OAuth calls this the consumer secret). You can create an app key and secret on the Dropbox developer website. |
public
|
|
public static
|
#
loadFromJsonFile( string $path )
Loads a JSON file containing information about your app. At a minimum, the file must include the "key" and "secret" fields. Run 'php authorize.php' in the examples directory for details about what this file should look like. |
public static
|
#
loadFromJson( array $jsonArr )
Parses a JSON object to build an AppInfo object. If you would like to load this from a file, use the loadFromJsonFile() method. |