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