diff --git a/src/Bynder/Api/BynderClient.php b/src/Bynder/Api/BynderClient.php index a0ec0b4..998df3b 100644 --- a/src/Bynder/Api/BynderClient.php +++ b/src/Bynder/Api/BynderClient.php @@ -17,6 +17,11 @@ class BynderClient */ private $assetBankManager; + /** + * @var Configuration The configuration object. + */ + private $configuration; + public function __construct($configuration) { if ($configuration instanceof PermanentTokens\Configuration) { diff --git a/src/Bynder/Api/Impl/OAuth2/Configuration.php b/src/Bynder/Api/Impl/OAuth2/Configuration.php index 4caae39..464ee08 100644 --- a/src/Bynder/Api/Impl/OAuth2/Configuration.php +++ b/src/Bynder/Api/Impl/OAuth2/Configuration.php @@ -17,22 +17,46 @@ */ class Configuration { + /** + * @var string The Bynder domain. + */ private $bynderDomain; - private $rootDir; + + /** + * @var string The redirect URI. + */ private $redirectUri; /** * @var string Client ID. */ private $clientId; + /** * @var string Client Secret. */ private $clientSecret; + /** * @var string Access token. */ private $token; + + /** + * @var array Request options. + */ + private $requestOptions; + + /** + * @var string Root directory. + */ + private $rootDir; + + /** + * @var object The package. + */ + private $package; + /** * @var string Initial access token, used for logout. */ diff --git a/src/Bynder/Api/Impl/PermanentTokens/Configuration.php b/src/Bynder/Api/Impl/PermanentTokens/Configuration.php index 4457b73..f828150 100644 --- a/src/Bynder/Api/Impl/PermanentTokens/Configuration.php +++ b/src/Bynder/Api/Impl/PermanentTokens/Configuration.php @@ -11,14 +11,31 @@ class Configuration { + /** + * @var string The Bynder domain. + */ private $bynderDomain; - private $rootDir; /** * @var string Permanent token. */ private $token; + /** + * @var array Request options. + */ + private $requestOptions; + + /** + * @var string The root dir. + */ + private $rootDir; + + /** + * @var object The package. + */ + private $package; + /** * Initialises a new instance with the specified params. *