Overview

Classes

  • Dropbox\AccessToken
  • Dropbox\AccessType
  • Dropbox\AppInfo
  • Dropbox\AuthInfo
  • Dropbox\Client
  • Dropbox\Config
  • Dropbox\Path
  • Dropbox\RequestToken
  • Dropbox\Token
  • Dropbox\WebAuth
  • Dropbox\WriteMode

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_ProtocolError
  • Dropbox\Exception_RetryLater
  • Dropbox\Exception_ServerError
  • Overview
  • Class
  • Tree

Class Token

Common parent class for Dropbox\AccessToken and Dropbox\RequestToken.

Direct known subclasses

Dropbox\AccessToken, Dropbox\RequestToken
Abstract
Namespace: Dropbox
Located at Dropbox/Token.php
Methods summary
public boolean
# matchesKey( string $key )

Returns whether the given string is equal to this token's key. Uses a string comparison function that is resistant to timing attacks. This is typically used in your OAuth callback endpoint to see if the given request token key is the one you were expecting.

Returns whether the given string is equal to this token's key. Uses a string comparison function that is resistant to timing attacks. This is typically used in your OAuth callback endpoint to see if the given request token key is the one you were expecting.

Parameters

$key
string
$key

Returns

boolean
public string
# __toString( )

Returns a string representation of this token.

Returns a string representation of this token.

Returns

string
abstract public string
# serialize( )

Returns a serialized string representation of this token.

Returns a serialized string representation of this token.

Returns

string
Dropbox SDK for PHP API documentation generated by ApiGen 2.8.0