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