We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac986dc commit ae05cf6Copy full SHA for ae05cf6
src/helpers/Auth.php
@@ -58,4 +58,19 @@ public static function bearer(string $token): array
58
'credentials' => $token
59
];
60
}
61
+
62
+ /**
63
+ * Kerberos authorization with token
64
+ * @param string $token
65
+ * @return array
66
+ */
67
+ public static function kerberos(string $token): array
68
+ {
69
+ return [
70
+ 'user_agent' => self::$userAgent,
71
+ 'scheme' => 'kerberos',
72
+ 'principal' => '',
73
+ 'credentials' => $token
74
+ ];
75
+ }
76
0 commit comments