@alicloud/ecd20201002 2.1.17 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +40 -41
- package/dist/client.js +66 -71
- package/dist/client.js.map +1 -1
- package/dist/models/ChangePasswordRequest.d.ts +1 -1
- package/dist/models/DeleteFingerPrintTemplateRequest.d.ts +6 -6
- package/dist/models/DeleteFingerPrintTemplateResponseBody.d.ts +1 -1
- package/dist/models/DescribeFingerPrintTemplatesResponseBody.d.ts +1 -1
- package/dist/models/DescribeGlobalDesktopsRequest.d.ts +28 -56
- package/dist/models/DescribeGlobalDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeGlobalDesktopsResponseBody.d.ts +77 -153
- package/dist/models/DescribeGlobalDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeOfficeSitesRequest.d.ts +8 -0
- package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +2 -2
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +1 -1
- package/dist/models/DescribeUserResourcesRequest.d.ts +26 -75
- package/dist/models/DescribeUserResourcesRequest.js.map +1 -1
- package/dist/models/DescribeUserResourcesResponseBody.d.ts +173 -195
- package/dist/models/DescribeUserResourcesResponseBody.js +69 -1
- package/dist/models/DescribeUserResourcesResponseBody.js.map +1 -1
- package/dist/models/GetCloudDriveServiceMountTokenRequest.d.ts +15 -0
- package/dist/models/GetCloudDriveServiceMountTokenRequest.js.map +1 -1
- package/dist/models/GetCloudDriveServiceMountTokenResponseBody.d.ts +15 -0
- package/dist/models/GetCloudDriveServiceMountTokenResponseBody.js.map +1 -1
- package/dist/models/GetConnectionTicketRequest.d.ts +30 -17
- package/dist/models/GetConnectionTicketRequest.js.map +1 -1
- package/dist/models/GetConnectionTicketResponseBody.d.ts +26 -2
- package/dist/models/GetConnectionTicketResponseBody.js.map +1 -1
- package/dist/models/GetLoginTokenRequest.d.ts +28 -44
- package/dist/models/GetLoginTokenRequest.js.map +1 -1
- package/dist/models/GetLoginTokenResponseBody.d.ts +34 -32
- package/dist/models/GetLoginTokenResponseBody.js +4 -0
- package/dist/models/GetLoginTokenResponseBody.js.map +1 -1
- package/dist/models/GetLoginTokenShrinkRequest.d.ts +28 -44
- package/dist/models/GetLoginTokenShrinkRequest.js.map +1 -1
- package/dist/models/RebootDesktopsRequest.d.ts +10 -10
- package/dist/models/RebootDesktopsResponseBody.d.ts +1 -1
- package/dist/models/RefreshLoginTokenRequest.d.ts +17 -0
- package/dist/models/RefreshLoginTokenRequest.js.map +1 -1
- package/dist/models/RefreshLoginTokenResponseBody.d.ts +6 -0
- package/dist/models/RefreshLoginTokenResponseBody.js.map +1 -1
- package/dist/models/ReportSessionStatusRequest.d.ts +13 -0
- package/dist/models/ReportSessionStatusRequest.js.map +1 -1
- package/dist/models/ReportSessionStatusResponseBody.d.ts +3 -0
- package/dist/models/ReportSessionStatusResponseBody.js.map +1 -1
- package/dist/models/ResetPasswordRequest.d.ts +2 -2
- package/dist/models/SetFingerPrintTemplateDescriptionRequest.d.ts +3 -3
- package/dist/models/SetFingerPrintTemplateRequest.d.ts +9 -9
- package/dist/models/SetFingerPrintTemplateResponseBody.d.ts +3 -3
- package/dist/models/StopDesktopsRequest.d.ts +8 -8
- package/dist/models/model.d.ts +2 -3
- package/dist/models/model.js +17 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +66 -76
- package/src/models/ChangePasswordRequest.ts +1 -1
- package/src/models/DeleteFingerPrintTemplateRequest.ts +6 -6
- package/src/models/DeleteFingerPrintTemplateResponseBody.ts +1 -1
- package/src/models/DescribeFingerPrintTemplatesResponseBody.ts +1 -1
- package/src/models/DescribeGlobalDesktopsRequest.ts +28 -56
- package/src/models/DescribeGlobalDesktopsResponseBody.ts +77 -153
- package/src/models/DescribeOfficeSitesRequest.ts +8 -0
- package/src/models/DescribeOfficeSitesResponseBody.ts +23 -0
- package/src/models/DescribeRegionsRequest.ts +1 -1
- package/src/models/DescribeRegionsResponseBody.ts +2 -2
- package/src/models/DescribeSnapshotsResponseBody.ts +1 -1
- package/src/models/DescribeUserResourcesRequest.ts +26 -75
- package/src/models/DescribeUserResourcesResponseBody.ts +223 -195
- package/src/models/GetCloudDriveServiceMountTokenRequest.ts +15 -0
- package/src/models/GetCloudDriveServiceMountTokenResponseBody.ts +15 -0
- package/src/models/GetConnectionTicketRequest.ts +30 -17
- package/src/models/GetConnectionTicketResponseBody.ts +26 -2
- package/src/models/GetLoginTokenRequest.ts +28 -44
- package/src/models/GetLoginTokenResponseBody.ts +38 -32
- package/src/models/GetLoginTokenShrinkRequest.ts +28 -44
- package/src/models/RebootDesktopsRequest.ts +10 -10
- package/src/models/RebootDesktopsResponseBody.ts +1 -1
- package/src/models/RefreshLoginTokenRequest.ts +17 -0
- package/src/models/RefreshLoginTokenResponseBody.ts +6 -0
- package/src/models/ReportSessionStatusRequest.ts +13 -0
- package/src/models/ReportSessionStatusResponseBody.ts +3 -0
- package/src/models/ResetPasswordRequest.ts +2 -2
- package/src/models/SetFingerPrintTemplateDescriptionRequest.ts +3 -3
- package/src/models/SetFingerPrintTemplateRequest.ts +9 -9
- package/src/models/SetFingerPrintTemplateResponseBody.ts +3 -3
- package/src/models/StopDesktopsRequest.ts +8 -8
- package/src/models/model.ts +2 -3
- package/dist/models/IsKeepAliveRequest.d.ts +0 -39
- package/dist/models/IsKeepAliveRequest.js +0 -62
- package/dist/models/IsKeepAliveRequest.js.map +0 -1
- package/dist/models/IsKeepAliveResponse.d.ts +0 -19
- package/dist/models/IsKeepAliveResponse.js +0 -69
- package/dist/models/IsKeepAliveResponse.js.map +0 -1
- package/dist/models/IsKeepAliveResponseBody.d.ts +0 -45
- package/dist/models/IsKeepAliveResponseBody.js +0 -64
- package/dist/models/IsKeepAliveResponseBody.js.map +0 -1
- package/src/models/IsKeepAliveRequest.ts +0 -56
- package/src/models/IsKeepAliveResponse.ts +0 -40
- package/src/models/IsKeepAliveResponseBody.ts +0 -64
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetLoginTokenRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The security code generated by the virtual MFA device. This parameter is required when `CurrentStage` is set to `MFAVerify`.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 47****
|
|
@@ -13,7 +13,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The unique ID generated by the client.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -24,50 +24,38 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
24
24
|
clientName?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The operating system
|
|
27
|
+
* The operating system of the device on which the client runs.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
|
-
* Windows_NT 10.0.
|
|
30
|
+
* Windows_NT 10.0.18363 x64
|
|
31
31
|
*/
|
|
32
32
|
clientOS?: string;
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* The type of
|
|
36
|
-
*
|
|
37
|
-
* Valid values:
|
|
38
|
-
*
|
|
39
|
-
* * HTML5: web client.
|
|
40
|
-
*
|
|
41
|
-
* * WINDOWS: Windows client.
|
|
42
|
-
*
|
|
43
|
-
* * MACOS: macOS client.
|
|
44
|
-
*
|
|
45
|
-
* * IOS: iOS client.
|
|
46
|
-
*
|
|
47
|
-
* * ANDROID: Android client.
|
|
35
|
+
* The type of the Elastic Desktop Service software client.
|
|
48
36
|
*
|
|
49
37
|
* @example
|
|
50
|
-
*
|
|
38
|
+
* WINDOWS
|
|
51
39
|
*/
|
|
52
40
|
clientType?: string;
|
|
53
41
|
/**
|
|
54
42
|
* @remarks
|
|
55
|
-
* The version
|
|
43
|
+
* The client version. If you use the Elastic Desktop Service client, you can view this parameter in the **About** dialog box on the client logon page.
|
|
56
44
|
*
|
|
57
45
|
* @example
|
|
58
|
-
* 2.1.0-R-20210731.
|
|
46
|
+
* 2.1.0-R-20210731.151756
|
|
59
47
|
*/
|
|
60
48
|
clientVersion?: string;
|
|
61
49
|
/**
|
|
62
50
|
* @remarks
|
|
63
|
-
* The logon authentication stage.
|
|
51
|
+
* The current logon authentication stage. The stages are as follows:
|
|
64
52
|
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
53
|
+
* - `ADPassword`: verifies user information. Specify this value when authenticating with the credentials of a convenience account or an AD account.
|
|
54
|
+
* - `MFABind`: binds a virtual MFA device.
|
|
55
|
+
* - `MFAVerify`: verifies the security code generated by the virtual MFA device.
|
|
56
|
+
* - `TokenVerify`: performs client secondary authentication.
|
|
57
|
+
* - `ChangePassword`: changes the user password.
|
|
58
|
+
* - `KeepAliveVerify`: exchanges a valid KeepAliveToken for a LoginToken.
|
|
71
59
|
*
|
|
72
60
|
* @example
|
|
73
61
|
* ADPassword
|
|
@@ -75,7 +63,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
75
63
|
currentStage?: string;
|
|
76
64
|
/**
|
|
77
65
|
* @remarks
|
|
78
|
-
* The office network ID
|
|
66
|
+
* The office network ID, which has the same meaning as `OfficeSiteId`. We recommend that you stop using `DirectoryId` and use `OfficeSiteId` instead. You can specify only one of `DirectoryId` and `OfficeSiteId`, not both.
|
|
79
67
|
*
|
|
80
68
|
* @example
|
|
81
69
|
* cn-hangzhou+dir-885351****
|
|
@@ -83,7 +71,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
83
71
|
directoryId?: string;
|
|
84
72
|
/**
|
|
85
73
|
* @remarks
|
|
86
|
-
* The
|
|
74
|
+
* The username of the convenience user or AD user. This parameter is required when `CurrentStage` is set to `ADPassword`.
|
|
87
75
|
*
|
|
88
76
|
* @example
|
|
89
77
|
* alice
|
|
@@ -91,11 +79,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
91
79
|
endUserId?: string;
|
|
92
80
|
/**
|
|
93
81
|
* @remarks
|
|
94
|
-
* Specifies whether to keep the
|
|
95
|
-
* Valid values:
|
|
96
|
-
* * null: Default value. Do not keep the user logged on to the client.
|
|
97
|
-
* * true: Keep the user logged on to the client.
|
|
98
|
-
* * false: Do not keep the user logged on to the client.
|
|
82
|
+
* Specifies whether to keep the logon session alive.
|
|
99
83
|
*
|
|
100
84
|
* @example
|
|
101
85
|
* false
|
|
@@ -103,7 +87,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
103
87
|
keepAlive?: boolean;
|
|
104
88
|
/**
|
|
105
89
|
* @remarks
|
|
106
|
-
* The token to keep
|
|
90
|
+
* The token used to keep the logon session alive. After a successful logon with the keep-alive option enabled, the operation returns a `KeepAliveToken`. While the `KeepAliveToken` is valid, you can call the `GetLoginToken` operation with `CurrentStage` set to `KeepAliveVerify` to exchange it for a logon credential (LoginToken). This parameter is required when `CurrentStage` is set to `KeepAliveVerify`.
|
|
107
91
|
*
|
|
108
92
|
* @example
|
|
109
93
|
* hide
|
|
@@ -111,7 +95,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
111
95
|
keepAliveToken?: string;
|
|
112
96
|
/**
|
|
113
97
|
* @remarks
|
|
114
|
-
* The new password. This parameter is required
|
|
98
|
+
* The new password. This parameter is required when `CurrentStage` is set to `ChangePassword`.
|
|
115
99
|
*
|
|
116
100
|
* @example
|
|
117
101
|
* NewPassword
|
|
@@ -127,7 +111,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
127
111
|
officeSiteId?: string;
|
|
128
112
|
/**
|
|
129
113
|
* @remarks
|
|
130
|
-
* The
|
|
114
|
+
* The old password. This parameter is required when `CurrentStage` is set to `ChangePassword`.
|
|
131
115
|
*
|
|
132
116
|
* @example
|
|
133
117
|
* OldPassword
|
|
@@ -135,7 +119,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
135
119
|
oldPassword?: string;
|
|
136
120
|
/**
|
|
137
121
|
* @remarks
|
|
138
|
-
* The password of the convenience user or
|
|
122
|
+
* The password of the convenience user or AD user. This parameter is required when `CurrentStage` is set to `ADPassword`.
|
|
139
123
|
*
|
|
140
124
|
* @example
|
|
141
125
|
* Password1234
|
|
@@ -143,7 +127,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
143
127
|
password?: string;
|
|
144
128
|
/**
|
|
145
129
|
* @remarks
|
|
146
|
-
* The region ID. You can call
|
|
130
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by Elastic Desktop Service.
|
|
147
131
|
*
|
|
148
132
|
* This parameter is required.
|
|
149
133
|
*
|
|
@@ -153,10 +137,10 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
153
137
|
regionId?: string;
|
|
154
138
|
/**
|
|
155
139
|
* @remarks
|
|
156
|
-
* The ID
|
|
140
|
+
* The session ID for logon.
|
|
157
141
|
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
142
|
+
* - If no virtual MFA device is bound or client secondary authentication is not enabled, you do not need to specify `SessionId`.
|
|
143
|
+
* - If a virtual MFA device is bound or client secondary authentication is enabled, you must specify `SessionId` for the authentication stages after `ADPassword`. You can obtain `SessionId` from the response of the convenience account verification (when the `GetLoginToken` request is in the `ADPassword` stage).
|
|
160
144
|
*
|
|
161
145
|
* @example
|
|
162
146
|
* cd45e873-650d-4d70-acb9-f996187a****
|
|
@@ -164,7 +148,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
164
148
|
sessionId?: string;
|
|
165
149
|
/**
|
|
166
150
|
* @remarks
|
|
167
|
-
* If
|
|
151
|
+
* If client secondary authentication is enabled in the Elastic Desktop Service console and the current logon user is identified as risky, a secondary authentication verification code is sent to the end user\\"s email address. This parameter is required when `CurrentStage` is set to `TokenVerify`.
|
|
168
152
|
*
|
|
169
153
|
* @example
|
|
170
154
|
* 63****
|
|
@@ -172,7 +156,7 @@ export declare class GetLoginTokenRequest extends $dara.Model {
|
|
|
172
156
|
tokenCode?: string;
|
|
173
157
|
/**
|
|
174
158
|
* @remarks
|
|
175
|
-
* The unique identifier of the client.
|
|
159
|
+
* The unique identifier of the client. If you use the Elastic Desktop Service client, you can view this parameter in the **About** dialog box on the client logon page.
|
|
176
160
|
*
|
|
177
161
|
* @example
|
|
178
162
|
* C78CA9E99315687575DD2844C1F3****
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetLoginTokenRequest.js","sourceRoot":"","sources":["../../src/models/GetLoginTokenRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetLoginTokenRequest.js","sourceRoot":"","sources":["../../src/models/GetLoginTokenRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAiKnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,iBAAiB,EAAE,mBAAmB;YACtC,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,aAAa,EAAE,eAAe;YAC9B,YAAY,EAAE,cAAc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ND,oDA6NC"}
|
|
@@ -2,12 +2,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetLoginTokenResponseBodyPasswordStrategy extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* > This is
|
|
5
|
+
* > This is an internal field and is not available for public use.
|
|
6
6
|
*/
|
|
7
7
|
tenantAlternativeChars?: string[];
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* > This is
|
|
10
|
+
* > This is an internal field and is not available for public use.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* null
|
|
@@ -27,7 +27,7 @@ export declare class GetLoginTokenResponseBodyPasswordStrategy extends $dara.Mod
|
|
|
27
27
|
export declare class GetLoginTokenResponseBodyRiskVerifyInfo extends $dara.Model {
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The email used for
|
|
30
|
+
* The email address used for identity verification when risk verification is triggered.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* user@example.com
|
|
@@ -35,7 +35,7 @@ export declare class GetLoginTokenResponseBodyRiskVerifyInfo extends $dara.Model
|
|
|
35
35
|
email?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The
|
|
38
|
+
* The account lockout duration.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* 1713749778
|
|
@@ -43,7 +43,7 @@ export declare class GetLoginTokenResponseBodyRiskVerifyInfo extends $dara.Model
|
|
|
43
43
|
lastLockDuration?: number;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
*
|
|
46
|
+
* Indicates whether the account is locked.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* true
|
|
@@ -51,10 +51,10 @@ export declare class GetLoginTokenResponseBodyRiskVerifyInfo extends $dara.Model
|
|
|
51
51
|
locked?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The
|
|
54
|
+
* The phone number used for identity verification when risk verification is triggered.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
|
-
*
|
|
57
|
+
* 1381111****
|
|
58
58
|
*/
|
|
59
59
|
phone?: string;
|
|
60
60
|
static names(): {
|
|
@@ -71,10 +71,10 @@ export declare class GetLoginTokenResponseBodyRiskVerifyInfo extends $dara.Model
|
|
|
71
71
|
export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The email address of the user.
|
|
74
|
+
* The email address of the user. This value is returned with the LoginToken after logon.
|
|
75
75
|
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
76
|
+
* - For a convenience user, the email address specified when the convenience user was created is returned.
|
|
77
|
+
* - For an AD user, the value is returned in the format of `username@AD domain name`.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* alice
|
|
@@ -82,7 +82,7 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
82
82
|
email?: string;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The account
|
|
85
|
+
* The convenience account username or AD username.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* alice
|
|
@@ -90,7 +90,7 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
90
90
|
endUserId?: string;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* > This is
|
|
93
|
+
* > This is an internal field and is not available for public use.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* edu
|
|
@@ -98,7 +98,7 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
98
98
|
industry?: string;
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The token used to keep the
|
|
101
|
+
* The token used to keep the logon session alive. After a successful logon with the keep-alive option enabled, the operation returns a `KeepAliveToken`. If the keep-alive option is not enabled, an empty value is returned.
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
104
|
* 006YwvYMsesWWsDBZnVB+Wq9AvJDVIqOY3YCktvtb7+KxMb3ClnNlV8+l/knhZYrXUmeP06IzkjF+IgcZ3vZKOyMprDyFHjCy1r27FRE/U7+geWCl8iQ+yF8GaCRHfJEkC2+ROs93HkT4tfHxyY1J8W7O7ZQGUC/cdCvm+cCP6FIy73IUuPuVR6PcKYXIpEZPW
|
|
@@ -106,15 +106,15 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
106
106
|
keepAliveToken?: string;
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
* The
|
|
109
|
+
* The property of the convenience user. If the user is an AD user, an empty value is returned.
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
112
|
-
* test:
|
|
112
|
+
* test:wuying
|
|
113
113
|
*/
|
|
114
114
|
label?: string;
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
|
-
* The logon
|
|
117
|
+
* The logon credential.
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
|
|
@@ -122,23 +122,25 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
122
122
|
loginToken?: string;
|
|
123
123
|
/**
|
|
124
124
|
* @remarks
|
|
125
|
-
* The next stage
|
|
125
|
+
* The expected next stage. For example, if the administrator has enabled MFA authentication in the Elastic Desktop Service console, after the username and password authentication is passed (the `ADPassword` stage), this parameter returns `MFAVerify`, indicating that MFA authentication is required.
|
|
126
126
|
*
|
|
127
|
-
* >
|
|
127
|
+
* > For more information about each authentication stage, see the parameter description of the `CurrentStage` request parameter of this operation.
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* MFAVerify
|
|
131
131
|
*/
|
|
132
132
|
nextStage?: string;
|
|
133
133
|
nickName?: string;
|
|
134
|
+
officeSiteId?: string;
|
|
135
|
+
officeSiteName?: string;
|
|
134
136
|
/**
|
|
135
137
|
* @remarks
|
|
136
|
-
* > This is
|
|
138
|
+
* > This is an internal field and is not available for public use.
|
|
137
139
|
*/
|
|
138
140
|
passwordStrategy?: GetLoginTokenResponseBodyPasswordStrategy;
|
|
139
141
|
/**
|
|
140
142
|
* @remarks
|
|
141
|
-
*
|
|
143
|
+
* The phone number of the convenience user. If the user is an AD user, an empty value is returned.
|
|
142
144
|
*
|
|
143
145
|
* @example
|
|
144
146
|
* 1381111****
|
|
@@ -146,16 +148,16 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
146
148
|
phone?: string;
|
|
147
149
|
/**
|
|
148
150
|
* @remarks
|
|
149
|
-
* > This is
|
|
151
|
+
* > This is an internal field and is not available for public use.
|
|
150
152
|
*/
|
|
151
153
|
props?: {
|
|
152
154
|
[key: string]: string;
|
|
153
155
|
};
|
|
154
156
|
/**
|
|
155
157
|
* @remarks
|
|
156
|
-
* The QR code
|
|
158
|
+
* The QR code of the secret key used when attaching a virtual MFA device. The value uses Base64 encoding. This value can be empty and is used in the `MFABind` stage.
|
|
157
159
|
*
|
|
158
|
-
* > For more information about each authentication stage, see the parameter description of the request parameter
|
|
160
|
+
* > For more information about each authentication stage, see the parameter description of the `CurrentStage` request parameter of this operation.
|
|
159
161
|
*
|
|
160
162
|
* @example
|
|
161
163
|
* 5OCLLKKOJU5HPBX66H3QCTWY******
|
|
@@ -163,7 +165,7 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
163
165
|
qrCodePng?: string;
|
|
164
166
|
/**
|
|
165
167
|
* @remarks
|
|
166
|
-
* > This is
|
|
168
|
+
* > This is an internal field and is not available for public use.
|
|
167
169
|
*
|
|
168
170
|
* @example
|
|
169
171
|
* null
|
|
@@ -171,7 +173,7 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
171
173
|
reason?: string;
|
|
172
174
|
/**
|
|
173
175
|
* @remarks
|
|
174
|
-
* The ID
|
|
176
|
+
* The request ID.
|
|
175
177
|
*
|
|
176
178
|
* @example
|
|
177
179
|
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
@@ -179,14 +181,14 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
179
181
|
requestId?: string;
|
|
180
182
|
/**
|
|
181
183
|
* @remarks
|
|
182
|
-
*
|
|
184
|
+
* The logon risk identification information.
|
|
183
185
|
*/
|
|
184
186
|
riskVerifyInfo?: GetLoginTokenResponseBodyRiskVerifyInfo;
|
|
185
187
|
/**
|
|
186
188
|
* @remarks
|
|
187
|
-
* The key
|
|
189
|
+
* The secret key used when attaching a virtual MFA device. This value is used in the `MFABind` stage.
|
|
188
190
|
*
|
|
189
|
-
* > For more information about each authentication stage, see the parameter description of the request parameter
|
|
191
|
+
* > For more information about each authentication stage, see the parameter description of the `CurrentStage` request parameter of this operation.
|
|
190
192
|
*
|
|
191
193
|
* @example
|
|
192
194
|
* 5OCLLKKOJU5HPBX66H3QCTWYI7MH****
|
|
@@ -194,9 +196,9 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
194
196
|
secret?: string;
|
|
195
197
|
/**
|
|
196
198
|
* @remarks
|
|
197
|
-
* The ID
|
|
199
|
+
* The session ID. This value is returned only when `GetLoginToken` is invoked for the first time within the same session. For subsequent stages that require multiple authentications, pass in this parameter.
|
|
198
200
|
*
|
|
199
|
-
* > For more information about each authentication stage, see the parameter description of the request parameter
|
|
201
|
+
* > For more information about each authentication stage, see the parameter description of the `CurrentStage` request parameter of this operation.
|
|
200
202
|
*
|
|
201
203
|
* @example
|
|
202
204
|
* d6ec166d-ab93-4286-bf7f-a18bb929****
|
|
@@ -204,7 +206,7 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
204
206
|
sessionId?: string;
|
|
205
207
|
/**
|
|
206
208
|
* @remarks
|
|
207
|
-
* The
|
|
209
|
+
* The Alibaba Cloud account ID. This value is used for hardware terminal identification.
|
|
208
210
|
*
|
|
209
211
|
* @example
|
|
210
212
|
* 166353906220****
|
|
@@ -212,7 +214,7 @@ export declare class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
212
214
|
tenantId?: number;
|
|
213
215
|
/**
|
|
214
216
|
* @remarks
|
|
215
|
-
* > This is
|
|
217
|
+
* > This is an internal field and is not available for public use.
|
|
216
218
|
*
|
|
217
219
|
* @example
|
|
218
220
|
* mode
|
|
@@ -96,6 +96,8 @@ class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
96
96
|
loginToken: 'LoginToken',
|
|
97
97
|
nextStage: 'NextStage',
|
|
98
98
|
nickName: 'NickName',
|
|
99
|
+
officeSiteId: 'OfficeSiteId',
|
|
100
|
+
officeSiteName: 'OfficeSiteName',
|
|
99
101
|
passwordStrategy: 'PasswordStrategy',
|
|
100
102
|
phone: 'Phone',
|
|
101
103
|
props: 'Props',
|
|
@@ -120,6 +122,8 @@ class GetLoginTokenResponseBody extends $dara.Model {
|
|
|
120
122
|
loginToken: 'string',
|
|
121
123
|
nextStage: 'string',
|
|
122
124
|
nickName: 'string',
|
|
125
|
+
officeSiteId: 'string',
|
|
126
|
+
officeSiteName: 'string',
|
|
123
127
|
passwordStrategy: GetLoginTokenResponseBodyPasswordStrategy,
|
|
124
128
|
phone: 'string',
|
|
125
129
|
props: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetLoginTokenResponseBody.js","sourceRoot":"","sources":["../../src/models/GetLoginTokenResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAcxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,sBAAsB,EAAE,wBAAwB;YAChD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;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