Skip to content

Commit

Permalink
Add Google::getScopeInline().
Browse files Browse the repository at this point in the history
This allows specifying each scope as a separate array value in config
instead of an array with single space separated string.
  • Loading branch information
ADmad committed Apr 9, 2017
1 parent 9951af7 commit 97cbf33
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Provider/Google.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,12 @@ public function getIdentity(AccessTokenInterface $accessToken)

return $hydrator->hydrate(new User(), $result);
}

/**
* {@inheritdoc}
*/
public function getScopeInline()
{
return implode(' ', $this->scope);
}
}

0 comments on commit 97cbf33

Please sign in to comment.