Просмотр исходного кода

Trident: (Dolphin to Trident in OAuth)

AntonLV 12 лет назад
Родитель
Сommit
02afb5c392

+ 1 - 1
plugins/OAuth/OAuth1/Service/Dolphin.php → plugins/OAuth/OAuth1/Service/Trident.php

@@ -19,7 +19,7 @@ use OAuth\Common\Storage\TokenStorageInterface;
 use OAuth\Common\Http\Client\ClientInterface;
 use OAuth\Common\Exception\Exception;
 
-class Dolphin extends AbstractService
+class Trident extends AbstractService
 {
     public function __construct(CredentialsInterface $credentials, ClientInterface $httpClient, TokenStorageInterface $storage, SignatureInterface $signature, UriInterface $baseApiUri = null) {
         parent::__construct($credentials, $httpClient, $storage, $signature, $baseApiUri);

+ 2 - 2
studio/classes/BxDolStudioOAuthPlugin.php

@@ -8,7 +8,7 @@
  */
 
 use OAuth\ServiceFactory;
-use OAuth\OAuth1\Service\Dolphin;
+use OAuth\OAuth1\Service\Trident;
 use OAuth\Common\Http\Uri\Uri;
 use OAuth\Common\Http\Exception\TokenResponseException;
 use OAuth\Common\Storage\Session;
@@ -35,7 +35,7 @@ class BxDolStudioOAuthPlugin extends BxDolStudioOAuth implements iBxDolSingleton
         $this->sSecret = getParam('sys_oauth_secret');
         $this->sDataRetrieveMethod = 'POST';
 
-        $this->sService = 'Dolphin';
+        $this->sService = 'Trident';
     }
 
     public function __clone()