mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 01:25:38 -05:00
Add AuthenticationType enum to typings (#20699)
* Add AuthenticationType enum to typings * fix * const * Add comments * fix comment * remove unused
This commit is contained in:
39
src/sql/azdata.proposed.d.ts
vendored
39
src/sql/azdata.proposed.d.ts
vendored
@@ -399,15 +399,48 @@ declare module 'azdata' {
|
||||
title: string;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add optional azureAccount for connectionWidget.
|
||||
*/
|
||||
export interface IConnectionProfile extends ConnectionInfo {
|
||||
/**
|
||||
* The type of authentication to use when connecting
|
||||
*/
|
||||
authenticationType: string | connection.AuthenticationType;
|
||||
azureAccount?: string;
|
||||
azureResourceId?: string;
|
||||
azurePortalEndpoint?: string;
|
||||
}
|
||||
|
||||
export namespace connection {
|
||||
/**
|
||||
* Well-known Authentication types commonly supported by connection providers.
|
||||
*/
|
||||
export enum AuthenticationType {
|
||||
/**
|
||||
* Username and password
|
||||
*/
|
||||
SqlLogin = 'SqlLogin',
|
||||
/**
|
||||
* Windows Authentication
|
||||
*/
|
||||
Integrated = 'Integrated',
|
||||
/**
|
||||
* Azure Active Directory - Universal with MFA support
|
||||
*/
|
||||
AzureMFA = 'AzureMFA',
|
||||
/**
|
||||
* Azure Active Directory - Password
|
||||
*/
|
||||
AzureMFAAndUser = 'AzureMFAAndUser',
|
||||
/**
|
||||
* Datacenter Security Token Service Authentication
|
||||
*/
|
||||
DSTSAuth = 'dstsAuth',
|
||||
/**
|
||||
* No authentication required
|
||||
*/
|
||||
None = 'None'
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Add optional per-OS default value.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user