oauth2.php 392 B

123456789101112
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. \OC_JSON::checkAppEnabled('files_external');
  8. \OC_JSON::checkLoggedIn();
  9. \OC_JSON::callCheck();
  10. $l = \OC::$server->getL10N('files_external');
  11. // TODO: implement redirect to which storage backend requested this