Builtin.php 506 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCA\Files_External\Lib\Auth;
  8. use OCP\IL10N;
  9. /**
  10. * Builtin authentication mechanism, for legacy backends
  11. */
  12. class Builtin extends AuthMechanism {
  13. public function __construct(IL10N $l) {
  14. $this
  15. ->setIdentifier('builtin::builtin')
  16. ->setScheme(self::SCHEME_BUILTIN)
  17. ->setText($l->t('Builtin'))
  18. ;
  19. }
  20. }