public function register(RegisterUser $request): JsonResource 	{ 		$user = Admin::create()->authParent()->create([ 			'name' => $request->name, 			'email' => $request->email, 			'password' => $request->password, 			'role_id' => setting('registration_api_role_id'), 		]);  		$oAuthDriver = (string) $request->oauth_driver;  		if ($oAuthDriver && ($oAuthUser = $this->getOAuthUserFromToken($oAuthDriver, $request->oauth_token))) { 			$user->update([ 				$oAuthDriver => $oAuthUser->getId(), 			]); 		}  		return $user->getModelResource(); 	}