diff --git a/src/Phinject/OauthActivator.php b/src/Phinject/OauthActivator.php index 91d79ee..9bc4994 100644 --- a/src/Phinject/OauthActivator.php +++ b/src/Phinject/OauthActivator.php @@ -15,9 +15,11 @@ class OauthActivator implements Activator, ConfigurationAware { private static $oauthMap = [ - 'facebook' => 'League\OAuth2\Client\Provider\Facebook', - 'github' => 'League\OAuth2\Client\Provider\Github', - 'bitbucket' => 'League\OAuth1\Client\Server\Bitbucket' + 'bitbucket' => 'League\OAuth1\Client\Server\Bitbucket', + 'twitter' => 'League\OAuth1\Client\Server\Twitter', + 'facebook' => 'League\OAuth2\Client\Provider\Facebook', + 'github' => 'League\OAuth2\Client\Provider\Github', + 'google' => 'League\OAuth2\Client\Provider\Google' ]; private $configuration; @@ -69,4 +71,4 @@ public function createInstance(Container $container, ArrayResolver $serviceConfi return $callback; } -} \ No newline at end of file +}