mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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:
32
extensions/types/vscode-mssql.d.ts
vendored
32
extensions/types/vscode-mssql.d.ts
vendored
@@ -122,11 +122,41 @@ declare module 'vscode-mssql' {
|
||||
getServerInfo(connectionInfo: IConnectionInfo): ServerInfo
|
||||
}
|
||||
|
||||
/**
|
||||
* Well-known Authentication types.
|
||||
*/
|
||||
export const 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'
|
||||
}
|
||||
|
||||
/**
|
||||
* The possible values of the server engine edition
|
||||
* EngineEdition under https://docs.microsoft.com/sql/t-sql/functions/serverproperty-transact-sql is associated with these values
|
||||
*/
|
||||
export const enum DatabaseEngineEdition {
|
||||
export const enum DatabaseEngineEdition {
|
||||
Unknown = 0,
|
||||
Personal = 1,
|
||||
Standard = 2,
|
||||
|
||||
Reference in New Issue
Block a user