switch ($type){
case "twitch":
$this->LoginWithTwitch($request);
break;
case "youtube":
$this->LoginWithYouTube($request);
break;
case "vk":
$this->LoginWithVk($request);
break;
}