aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/ajax/oauth2.php
blob: 9dd8ceec2d2888522a2236a5dfadd428d2f4778a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
\OC_JSON::checkAppEnabled('files_external');
\OC_JSON::checkLoggedIn();
\OC_JSON::callCheck();
$l = \OC::$server->getL10N('files_external');

// TODO: implement redirect to which storage backend requested this