diff options
Diffstat (limited to 'apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php')
-rw-r--r-- | apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php b/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php new file mode 100644 index 00000000000..0c2e90a243c --- /dev/null +++ b/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php @@ -0,0 +1,23 @@ +<?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_External\Lib\Config; + +use OCA\Files_External\Lib\Auth\AuthMechanism; + +/** + * Provider of external storage auth mechanisms + * @since 9.1.0 + */ +interface IAuthMechanismProvider { + + /** + * @since 9.1.0 + * @return AuthMechanism[] + */ + public function getAuthMechanisms(); +} |