Skip to content

Commit 92f69a0

Browse files
committed
:octocat:
1 parent 8fabd13 commit 92f69a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Providers/TikTok.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ class TikTok extends OAuth2Provider implements CSRFToken, PKCE, TokenRefresh, Us
5757
protected string|null $applicationURL = 'https://developers.tiktok.com/apps/';
5858
protected string|null $userRevokeURL = 'https://example.com/user/settings/connections';
5959

60+
/**
61+
* @inheritDoc
62+
*/
6063
protected function getAuthorizationURLRequestParams(array $params, array $scopes):array{
6164

6265
unset($params['client_secret']);
@@ -76,6 +79,9 @@ protected function getAuthorizationURLRequestParams(array $params, array $scopes
7679
return $this->setState($params);
7780
}
7881

82+
/**
83+
* @inheritDoc
84+
*/
7985
protected function getAccessTokenRequestBodyParams(string $code):array{
8086

8187
$params = [
@@ -89,6 +95,9 @@ protected function getAccessTokenRequestBodyParams(string $code):array{
8995
return $this->setCodeVerifier($params);
9096
}
9197

98+
/**
99+
* @inheritDoc
100+
*/
92101
protected function getRefreshAccessTokenRequestBodyParams(string $refreshToken):array{
93102
return [
94103
'client_key' => $this->options->key,

0 commit comments

Comments
 (0)