Skip to content

Commit

Permalink
Merge c0d5151 into ae01838
Browse files Browse the repository at this point in the history
  • Loading branch information
zot24 committed Jan 9, 2015
2 parents ae01838 + c0d5151 commit 61b1e7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ so please help them out with a pull request if you notice this.
- [Vkontakte](https://packagist.org/packages/j4k/oauth2-vkontakte)
- [Naver](https://packagist.org/packages/deminoth/oauth2-naver)
- [Google Nest](https://github.com/JC5/nest-oauth2-provider)
- [FreeAgent](https://github.com/CloudManaged/oauth2-freeagent)

### Implementing your own provider

Expand Down
2 changes: 1 addition & 1 deletion src/Provider/AbstractProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ protected function fetchUserDetails(AccessToken $token)
return $this->fetchProviderData($url);
}

protected function fetchProviderData($url)
protected function fetchProviderData($url, AccessToken $token = null)
{
try {
$client = $this->getHttpClient();
Expand Down

0 comments on commit 61b1e7a

Please sign in to comment.