File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,15 @@ function getAuthMethodValue(data: TEvDescribeSchemeResult) {
3636 if ( Auth ?. Aws ) {
3737 return i18n ( 'external-objects.auth-method.aws' ) ;
3838 }
39+ if ( Auth ?. Token ) {
40+ return i18n ( 'external-objects.auth-method.token' ) ;
41+ }
42+ if ( Auth ?. Basic ) {
43+ return i18n ( 'external-objects.auth-method.basic' ) ;
44+ }
45+ if ( Auth ?. MdbBasic ) {
46+ return i18n ( 'external-objects.auth-method.mdb-basic' ) ;
47+ }
3948 return i18n ( 'external-objects.auth-method.none' ) ;
4049}
4150
Original file line number Diff line number Diff line change 66 "external-objects.auth-method.none" : " None" ,
77 "external-objects.auth-method.service-account" : " Service Account" ,
88 "external-objects.auth-method.aws" : " AWS" ,
9+ "external-objects.auth-method.token" : " Token" ,
10+ "external-objects.auth-method.basic" : " Basic" ,
11+ "external-objects.auth-method.mdb-basic" : " MDB Basic" ,
912
1013 "view.query-text" : " Query Text" ,
1114
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ interface TAuth {
1515 None ?: NoneAuth ;
1616 ServiceAccount ?: ServiceAccountAuth ;
1717 Aws ?: AwsAuth ;
18+ Token ?: string ;
19+ MdbBasic ?: MdbBasic ;
20+ Basic ?: Basic ;
1821}
1922
2023interface NoneAuth { }
@@ -28,3 +31,15 @@ interface AwsAuth {
2831 AwsRegion ?: string ;
2932 AwsAccessKeyIdSecretName ?: string ;
3033}
34+
35+ interface Basic {
36+ Login ?: string ;
37+ PasswordSecretName ?: string ;
38+ }
39+
40+ interface MdbBasic {
41+ ServiceAccountId ?: string ;
42+ ServiceAccountSecretName ?: string ;
43+ Login ?: string ;
44+ PasswordSecretName ?: string ;
45+ }
You can’t perform that action at this time.
0 commit comments