protected function getSocialite(string $driver, bool $stateless = false): AbstractProvider 	{ 		$socialite = Socialite::driver($driver);  		if (!($socialite instanceof AbstractProvider)) { 			throw new SocialiteProviderNotSupported; 		}  		return $stateless ? $socialite->stateless() : $socialite; 	}