Skip to content

Commit

Permalink
Require redirect uri for token's migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Dobric committed Nov 27, 2019
1 parent 5fbdc02 commit 9609102
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DataService/OAuth2Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public function migrateOAuth1ToOAuth2(
string $consumer_secret,
string $access_token,
string $access_token_secret,
string $redirect_uri,
string $environment
): OAuth2AccessToken
{
Expand All @@ -92,7 +93,7 @@ public function migrateOAuth1ToOAuth2(
$access_token,
$access_token_secret,
'com.intuit.quickbooks.accounting',
null,
$redirect_uri,
$environment
);
}
Expand Down
1 change: 1 addition & 0 deletions src/DataService/OAuth2ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public function migrateOAuth1ToOAuth2(
string $consumer_secret,
string $access_token,
string $access_token_secret,
string $redirect_uri,
string $environment
): OAuth2AccessToken;
}

0 comments on commit 9609102

Please sign in to comment.