public function oauthLogin(OAuthToken $request, OAuthDriver $driver, OAuthHandler $oAuthHandler): JsonResource 	{ 		$oAuthUser = $oAuthHandler->getUser($driver, $request->access_token);  		if (!$oAuthUser instanceof \Laravel\Socialite\Contracts\User) { 			abort(401); 		}  		$user = User::includes() 			->has('user') 			->hasOAuthDriver($driver, $oAuthUser) 			->firstOrFail();  		$user->connectOAuthDriver($driver, $oAuthUser->getId());  		$user->fireLoginEvent('api');  		return $user->getModelResource(); 	}