public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri, true); if (null === $baseApiUri) { $this->baseApiUri = new Uri('https://sandbox-quickbooks.api.intuit.com/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); if (is_null($this->baseApiUri) && $storage->hasAccessToken($this->service())) { $this->setBaseApiUri($storage->retrieveAccessToken($this->service())); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null, $apiVersion = "") { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri, false, $apiVersion); if (null === $baseApiUri) { $this->baseApiUri = new Uri('http://server.oauth2.nukeviet.vn/oauth2/resource'); } }
public function __construct(\OAuth\Common\Consumer\CredentialsInterface $credentials, \OAuth\Common\Http\Client\ClientInterface $httpClient, \OAuth\Common\Storage\TokenStorageInterface $storage, $scopes = array(), \OAuth\Common\Http\Uri\UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); if (null === $baseApiUri) { $this->baseApiUri = new Uri('https://www.readability.com/api/rest/v1/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null, $apiVersion = "v3") { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri, true, $apiVersion); if (null === $baseApiUri) { $this->baseApiUri = new Uri('https://api.twitch.tv/kraken/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); if (null === $baseApiUri) { $this->baseApiUri = new Uri('http://rest.bullhornstaffing.com/rest-services/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); if ($baseApiUri === null) { $this->baseApiUri = new Uri(self::API_URI_US); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); if ($baseApiUri === null) { $this->baseApiUri = new Uri('https://getpocket.com/v3/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri, true); if (null === $baseApiUri) { $this->baseApiUri = new Uri('https://eu.battle.net/oauth/'); } }
public function __construct(Credentials $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); if (null === $baseApiUri) { $this->baseApiUri = new Uri(static::BASE_URL . 'resource/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); if (null === $baseApiUri) { $this->baseApiUri = new Uri('http://aimalyzer:8080/api/1.0/'); } }
public function __construct(Credentials $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); if (null === $baseApiUri) { $this->baseApiUri = new Uri('https://api.paypal.com/v1/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = [], UriInterface $baseApiUri = null, $apiVersion = "") { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri, false, $apiVersion); $this->apiVersion = "v1"; if (is_null($baseApiUri)) { $this->baseApiUri = new Uri(self::API_URL . $this->getApiVersionString()); } }
public function __construct(Credentials $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { $scopes = array(); parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); if (null === $baseApiUri) { $this->baseApiUri = new Uri('https://sisilogin.testeveonline.com/oauth/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); $hlp = plugin_load('helper', 'oauth'); $this->domain = $hlp->getConf('auth0-domain'); if (null === $baseApiUri) { $this->baseApiUri = new Uri("https://{$this->domain}/"); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { if (empty($scopes)) { $scopes = array(self::SCOPE_PUBLIC); } parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri, true); if (null === $baseApiUri) { $this->baseApiUri = new Uri('https://www.strava.com/api/v3/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null, $apiVersion = "") { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri, true, $apiVersion); if (null === $baseApiUri) { $this->baseApiUri = new Uri('https://graph.facebook.com' . $this->getApiVersionString() . '/'); } }
public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null) { parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri); }
/** * @param CredentialsInterface $credentials * @param ClientInterface $httpClient * @param TokenStorageInterface $storage * @param array $scopes * @param UriInterface $baseApiUri * @param Service $service */ public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, $scopes = array(), UriInterface $baseApiUri = null, Service $service) { $this->service = $service; parent::__construct($credentials, $httpClient, $storage, $scopes, $baseApiUri, $service->getValidateState()); }