mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Open cluster dashboard from SQL Dashboard (#7783)
* Open cluster dashboard * Remove old translated strings and update var name * Add exported auth type * Add newline * PR feedback
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
|
||||
import * as kerberos from 'kerberos';
|
||||
|
||||
export enum AuthType {
|
||||
Integrated = 'integrated',
|
||||
Basic = 'basic'
|
||||
}
|
||||
|
||||
export async function authenticateKerberos(hostname: string): Promise<string> {
|
||||
const service = 'HTTP' + (process.platform === 'win32' ? '/' : '@') + hostname;
|
||||
const mechOID = kerberos.GSS_MECH_OID_KRB5;
|
||||
|
||||
Reference in New Issue
Block a user