state = \request()->input('state');
$code = \request()->input('code');
// Check the state received with= hash('sha256', session_id())) {
exit('State does not match!')要在请求中包含任何可选参数,请使用关联数组调用 `with` 方法:
```php
$response = Socialite::driver('qq')->with(['hd' => 'example.com[Facebook - Graph API](https://developers.facebook.com/docs/graph-api)
- [Linkedin - Authenticating with