@@ -68,13 +68,13 @@ |
||
68 | 68 | public function getAccessTokenFromAuthorizedCode(string $redirectUrl, string $code): AccessToken |
69 | 69 | { |
70 | 70 | $options = [ |
71 | - 'form_params' => [ |
|
72 | - 'grant_type' => self::API_ACCESS_TOKEN_CODE_GRANT, |
|
73 | - 'client_id' => $this->clientId, |
|
74 | - 'client_secret' => $this->clientSecret, |
|
75 | - 'redirect_uri' => $redirectUrl, |
|
76 | - 'code' => $code |
|
77 | - ], |
|
71 | + 'form_params' => [ |
|
72 | + 'grant_type' => self::API_ACCESS_TOKEN_CODE_GRANT, |
|
73 | + 'client_id' => $this->clientId, |
|
74 | + 'client_secret' => $this->clientSecret, |
|
75 | + 'redirect_uri' => $redirectUrl, |
|
76 | + 'code' => $code |
|
77 | + ], |
|
78 | 78 | ]; |
79 | 79 | |
80 | 80 | try { |