Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the ACCESS_TOKEN_RESOURCE_OWNER_ID key, so that AccessToken objects have their $resourceOwnerId property set access_token parameter is not needed in URL. Is set in headers automatically. On top, current code is wrong. Parameter $token is a League\OAuth2\Client\Token\AccessToken object, not a string. To append token string to URL, would use this string: $token->getToken() Remove unused $domain property Fix some annotations in comments Use https link in comment instead of http Remove link to non-existent CHANGELOG.md All tests and PHP_CodeSniffer pass.
- Loading branch information
Showing
6 changed files
with
303 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,4 @@ | |
"League\\OAuth2\\Client\\Test\\": "tests/src/" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.