driver() 공개 메소드

Get a driver instance.
public driver ( string $driver = null ) : mixed
$driver string
리턴 mixed
예제 #1
0
 public function wx(Request $req)
 {
     $socialite = new SocialiteManager($this->config);
     $user = $socialite->driver('wechat')->user();
     dd($user);
     return view('search.index');
 }
예제 #2
0
 public function wxCallback()
 {
     echo "I am weixin callback";
     $socialite = new SocialiteManager($this->config);
     $user = $socialite->driver('qq')->user();
     dd($user);
     echo "I am weibo callback";
 }