public function register()
 {
     $this->app->singleton('Laravel\\Socialite\\Contracts\\Factory', function ($app) {
         $socialiteManager = new SocialiteManager($app);
         $socialiteManager->extend('teamviewer', function () use($socialiteManager) {
             $config = $this->app['config']['services.teamviewer'];
             return $socialiteManager->buildProvider('RemoteMethod\\Socialite\\TeamViewer\\TeamViewer', $config);
         });
         return $socialiteManager;
     });
 }
 /**
  * Register a custom driver creator Closure.
  *
  * @param string $driver
  * @param \Closure $callback
  * @return $this 
  * @static 
  */
 public static function extend($driver, $callback)
 {
     //Method inherited from \Illuminate\Support\Manager
     return \Laravel\Socialite\SocialiteManager::extend($driver, $callback);
 }