nextcloud/apps/files_external/src/init-settings.ts
Ferdinand Thiessen 1ec308a9dd feat(files_external): provide new API to register AuthMechanisms
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-13 01:30:37 +00:00

9 lines
283 B
TypeScript

/*!
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { AuthMechanism } from './services/AuthMachanism.ts'
window.OCA.FilesExternal ??= {}
window.OCA.FilesExternal.AuthMechanism = new AuthMechanism()