aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php')
-rw-r--r--apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php b/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php
new file mode 100644
index 00000000000..9210209192a
--- /dev/null
+++ b/apps/files_external/lib/Lib/Auth/SMB/KerberosAuth.php
@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+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'));
+ }
+}