Class AppInfo
Information about how you've registered your application with the Dropbox API.
public
string
|
#
getKey( )
Your Dropbox <em>app key</em> (OAuth calls this the <em>consumer key</em>). You can create an app key and secret on the Dropbox developer website. |
public
string
|
#
getSecret( )
Your Dropbox <em>app secret</em> (OAuth calls this the <em>consumer secret</em>). You can create an app key and secret on the Dropbox developer website. |
public
|
#
getAccessType( )
The type of access your app is registered for. You can see how your apps areregistered 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, secret, and access_type 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. |