aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/ISharedStorage.php
blob: dfd8b134db19fac40004e721642c5909cf068622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
namespace OCA\Files_Sharing;

use OCP\Files\Storage\IStorage;

/**
 * @deprecated 30.0.0 use `\OCP\Files\Storage\ISharedStorage` instead
 */
interface ISharedStorage extends IStorage {
}
ice; class SwiftV2CachingAuthService extends Service { public function authenticate(array $options = []): array { if (isset($options['v2cachedToken'], $options['v2serviceUrl']) && $options['v2cachedToken'] instanceof Token && is_string($options['v2serviceUrl'])) { return [$options['v2cachedToken'], $options['v2serviceUrl']]; } else { return parent::authenticate($options); } } }