2018-05-28 10:17:19 -04:00
|
|
|
<?php
|
2025-06-30 09:04:05 -04:00
|
|
|
|
2018-05-28 10:17:19 -04:00
|
|
|
/**
|
2024-06-06 03:55:47 -04:00
|
|
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2018-05-28 10:17:19 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCA\Files_External\Lib\Auth\SMB;
|
|
|
|
|
|
|
|
|
|
use OCA\Files_External\Lib\Auth\AuthMechanism;
|
|
|
|
|
use OCP\IL10N;
|
|
|
|
|
|
|
|
|
|
class KerberosAuth extends AuthMechanism {
|
|
|
|
|
public function __construct(IL10N $l) {
|
|
|
|
|
$this
|
|
|
|
|
->setIdentifier('smb::kerberos')
|
|
|
|
|
->setScheme(self::SCHEME_SMB)
|
|
|
|
|
->setText($l->t('Kerberos ticket'));
|
|
|
|
|
}
|
|
|
|
|
}
|