KerberosAuth.php 447 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCA\Files_External\Lib\Auth\SMB;
  7. use OCA\Files_External\Lib\Auth\AuthMechanism;
  8. use OCP\IL10N;
  9. class KerberosAuth extends AuthMechanism {
  10. public function __construct(IL10N $l) {
  11. $this
  12. ->setIdentifier('smb::kerberos')
  13. ->setScheme(self::SCHEME_SMB)
  14. ->setText($l->t('Kerberos ticket'));
  15. }
  16. }