public function store(OAuthIdentity $identity) { $identity->save(); }
public function flush($user, $provider) { OAuthIdentity::where('user_id', $user->getKey())->where('provider', $provider)->delete(); }