Overview

Classes

  • Dropbox\AppInfo
  • Dropbox\ArrayEntryStore
  • Dropbox\AuthBase
  • Dropbox\AuthInfo
  • Dropbox\Client
  • Dropbox\OAuth1AccessToken
  • Dropbox\OAuth1Upgrader
  • Dropbox\Path
  • Dropbox\RootCertificates
  • Dropbox\Security
  • Dropbox\SSLTester
  • Dropbox\Util
  • Dropbox\WebAuth
  • Dropbox\WebAuthBase
  • Dropbox\WebAuthNoRedirect
  • Dropbox\WriteMode

Interfaces

  • Dropbox\ValueStore

Exceptions

  • Dropbox\AppInfoLoadException
  • Dropbox\AuthInfoLoadException
  • Dropbox\DeserializeException
  • Dropbox\Exception
  • Dropbox\Exception_BadRequest
  • Dropbox\Exception_BadResponse
  • Dropbox\Exception_BadResponseCode
  • Dropbox\Exception_InvalidAccessToken
  • Dropbox\Exception_NetworkIO
  • Dropbox\Exception_OverQuota
  • Dropbox\Exception_ProtocolError
  • Dropbox\Exception_RetryLater
  • Dropbox\Exception_ServerError
  • Dropbox\HostLoadException
  • Dropbox\StreamReadException
  • Dropbox\WebAuthException_BadRequest
  • Dropbox\WebAuthException_BadState
  • Dropbox\WebAuthException_Csrf
  • Dropbox\WebAuthException_NotApproved
  • Dropbox\WebAuthException_Provider
  • Overview
  • Class

Class OAuth1AccessToken

Use with Dropbox\OAuth1Upgrader to convert old OAuth 1 access tokens to OAuth 2 access tokens. This SDK doesn't support using OAuth 1 access tokens for regular API calls.

Namespace: Dropbox
Located at Dropbox/OAuth1AccessToken.php
Methods summary
public string
# getKey( )

The OAuth 1 access token key.

The OAuth 1 access token key.

Returns

string
public string
# getSecret( )

The OAuth 1 access token secret.

The OAuth 1 access token secret.

Make sure that this is kept a secret. Someone with your app secret can impesonate your application. People sometimes ask for help on the Dropbox API forums and copy/paste code that includes their app secret. Do not do that.

Returns

string
public
# __construct( string $key, string $secret )

Constructor.

Constructor.

Parameters

$key
Dropbox\OAuth1AccessToken::getKey()
$secret
Dropbox\OAuth1AccessToken::getSecret()
Dropbox SDK for PHP API documentation generated by ApiGen