@@ -63,10 +63,10 @@ |
||
| 63 | 63 | protected function refreshToken() |
| 64 | 64 | { |
| 65 | 65 | $token = $this->authorization->getApi() |
| 66 | - ->getAuthorizerToken( |
|
| 67 | - $this->authorization->getAuthorizerCorpId(), |
|
| 68 | - $this->authorization->getAuthorizerPermanentCode() |
|
| 69 | - ); |
|
| 66 | + ->getAuthorizerToken( |
|
| 67 | + $this->authorization->getAuthorizerCorpId(), |
|
| 68 | + $this->authorization->getAuthorizerPermanentCode() |
|
| 69 | + ); |
|
| 70 | 70 | |
| 71 | 71 | $this->authorization->setAuthorizerAccessToken($token['access_token'], $token['expires_in'] - 1500); |
| 72 | 72 | |
@@ -31,8 +31,8 @@ |
||
| 31 | 31 | public function createAuthorizerApplication($authorizerCorpId, $permanentCode) |
| 32 | 32 | { |
| 33 | 33 | $this->fetch('authorization') |
| 34 | - ->setAuthorizerCorpId($authorizerCorpId) |
|
| 35 | - ->setAuthorizerPermanentCode($permanentCode); |
|
| 34 | + ->setAuthorizerCorpId($authorizerCorpId) |
|
| 35 | + ->setAuthorizerPermanentCode($permanentCode); |
|
| 36 | 36 | |
| 37 | 37 | $application = $this->fetch('app'); |
| 38 | 38 | $application['access_token'] = $this->fetch('authorizer_access_token'); |