/**
  * Setup the API.
  */
 public function __construct()
 {
     parent::__construct();
     Configure::load('AuthManager.API/Bitly');
     $this->_Bitly = new Bitly(Configure::read('Bitly.client_id'), Configure::read('Bitly.client_secret'));
 }
 /**
  * @inheritDoc
  */
 public function __construct()
 {
     parent::__construct();
     $this->_coostoApi = new CoostoApi();
     $this->_UserCredentials = ClassRegistry::init('AuthManager.UserCredentials');
 }
 /**
  * Setup the API.
  */
 public function __construct()
 {
     parent::__construct();
     Configure::load('AuthManager.API/FacebookAds');
     $this->_setFacebook();
 }
 /**
  * Setup the API.
  */
 public function __construct()
 {
     parent::__construct();
     Configure::load('AuthManager.API/Instagram');
     $this->_setInstagram();
 }
 /**
  * Setup the API.
  */
 public function __construct()
 {
     parent::__construct();
     Configure::load('AuthManager.API/BingAds');
     $this->_microsoftProvider = new Microsoft(['clientId' => Configure::read('BingAds.client_id'), 'clientSecret' => Configure::read('BingAds.client_secret'), 'redirectUri' => $this->_getCallbackUrl(MediaPlatform::BING_ADS), 'scopes' => ['bingads.manage']]);
 }
 public function __construct()
 {
     parent::__construct();
     Configure::load('AuthManager.API/Dropbox');
     $this->_dropboxProvider = new DropboxOauthProvider(['clientId' => Configure::read('Dropbox.client_id'), 'clientSecret' => Configure::read('Dropbox.client_secret'), 'redirectUri' => $this->_getCallbackUrl(MediaPlatform::DROPBOX)]);
 }
 /**
  * Set the google client and service.
  */
 public function __construct()
 {
     parent::__construct();
     $this->_setGoogleClient();
     $this->_setGoogleService();
 }