@alicloud/eiam20211201 2.19.1 → 2.19.2
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 +16 -16
- package/dist/client.js +16 -16
- package/dist/models/CheckInstanceModuleStatusRequest.d.ts +17 -3
- package/dist/models/CheckInstanceModuleStatusRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +165 -142
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +2 -2
- package/dist/models/GetApplicationSsoConfigResponseBody.d.ts +85 -65
- package/dist/models/GetApplicationSsoConfigResponseBody.js +11 -0
- package/dist/models/GetApplicationSsoConfigResponseBody.js.map +1 -1
- package/dist/models/GetAuthorizationResourceResponseBody.d.ts +2 -2
- package/dist/models/GetIdentityProviderResponseBody.d.ts +54 -65
- package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/ListAuthorizationResourcesRequest.d.ts +5 -5
- package/dist/models/ListAuthorizationResourcesResponseBody.d.ts +9 -9
- package/dist/models/ListEiamInstancesRequest.d.ts +1 -1
- package/dist/models/SetApplicationSsoConfigRequest.d.ts +55 -31
- package/dist/models/SetApplicationSsoConfigRequest.js +9 -0
- package/dist/models/SetApplicationSsoConfigRequest.js.map +1 -1
- package/dist/models/UpdateIdentityProviderRequest.d.ts +85 -51
- package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
- package/dist/models/UpdateIdentityProviderResponseBody.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +16 -16
- package/src/models/CheckInstanceModuleStatusRequest.ts +17 -3
- package/src/models/CreateIdentityProviderRequest.ts +165 -142
- package/src/models/CreateIdentityProviderResponseBody.ts +2 -2
- package/src/models/GetApplicationSsoConfigResponseBody.ts +96 -65
- package/src/models/GetAuthorizationResourceResponseBody.ts +2 -2
- package/src/models/GetIdentityProviderResponseBody.ts +54 -65
- package/src/models/ListAuthorizationResourcesRequest.ts +5 -5
- package/src/models/ListAuthorizationResourcesResponseBody.ts +9 -9
- package/src/models/ListEiamInstancesRequest.ts +1 -1
- package/src/models/SetApplicationSsoConfigRequest.ts +64 -31
- package/src/models/UpdateIdentityProviderRequest.ts +85 -51
- package/src/models/UpdateIdentityProviderResponseBody.ts +1 -1
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateIdentityProviderResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The identity provider ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* idp_mwpcwnhrimlr2horxXXXX
|
|
@@ -13,7 +13,7 @@ export class CreateIdentityProviderResponseBody extends $dara.Model {
|
|
|
13
13
|
identityProviderId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The request ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfigCustomClaims extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name of the claim.
|
|
8
|
+
* The name of the returned claim.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* userOuIds
|
|
@@ -13,7 +13,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
13
13
|
claimName?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The expression
|
|
16
|
+
* The value expression of the returned claim.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ObjectToJsonString(user.organizationalUnits)
|
|
@@ -45,7 +45,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
45
45
|
export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfig extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The validity period of the access token. Unit: seconds. Default value: 1200 (20 minutes).
|
|
48
|
+
* The validity period of the issued access token. Unit: seconds. Default value: 1200 (20 minutes).
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1200
|
|
@@ -53,7 +53,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
53
53
|
accessTokenEffectiveTime?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* Specifies whether the application is allowed to request the IDaaS EIAM authorization server as a public client. This parameter can be enabled only in authorization code mode and device mode. Default value: false.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* true
|
|
@@ -61,7 +61,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
61
61
|
allowedPublicClient?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The validity period of the
|
|
64
|
+
* The validity period of the issued code. Unit: seconds. Default value: 60 (1 minute).
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 60
|
|
@@ -69,12 +69,12 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
69
69
|
codeEffectiveTime?: number;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The custom
|
|
72
|
+
* The custom user information included in the ID token response.
|
|
73
73
|
*/
|
|
74
74
|
customClaims?: GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfigCustomClaims[];
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The OIDC
|
|
77
|
+
* The OIDC standard parameter scope, which specifies the range of user attributes that can be returned by the userinfo endpoint or ID token.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* profile,email
|
|
@@ -82,7 +82,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
82
82
|
grantScopes?: string[];
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The list of OIDC grant types
|
|
85
|
+
* The list of supported OIDC protocol grant types.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* authorization_code
|
|
@@ -90,7 +90,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
90
90
|
grantTypes?: string[];
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The validity period of the ID token. Unit: seconds. Default value: 300 (5 minutes).
|
|
93
|
+
* The validity period of the issued ID token. Unit: seconds. Default value: 300 (5 minutes).
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* 1200
|
|
@@ -98,7 +98,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
98
98
|
idTokenEffectiveTime?: number;
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The ID of the authentication source
|
|
101
|
+
* The ID of the identity authentication source used in password mode. This parameter takes effect only when the GrantTypes specified for the OIDC protocol application include the password mode.
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
104
|
* ia_password
|
|
@@ -106,7 +106,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
106
106
|
passwordAuthenticationSourceId?: string;
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
*
|
|
109
|
+
* Specifies whether TOTP-based secondary authentication is required in password mode. This parameter takes effect only when the GrantTypes specified for the OIDC protocol application include the password mode.
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
112
112
|
* true
|
|
@@ -114,7 +114,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
114
114
|
passwordTotpMfaRequired?: boolean;
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
|
-
* The algorithm used to calculate the
|
|
117
|
+
* The algorithm used to calculate the Code Challenge in PKCE.
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* S256
|
|
@@ -122,7 +122,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
122
122
|
pkceChallengeMethods?: string[];
|
|
123
123
|
/**
|
|
124
124
|
* @remarks
|
|
125
|
-
*
|
|
125
|
+
* Specifies whether the application SSO requires PKCE (RFC 7636).
|
|
126
126
|
*
|
|
127
127
|
* @example
|
|
128
128
|
* true
|
|
@@ -130,17 +130,17 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
130
130
|
pkceRequired?: boolean;
|
|
131
131
|
/**
|
|
132
132
|
* @remarks
|
|
133
|
-
* The list of
|
|
133
|
+
* The list of logout callback addresses supported by the application.
|
|
134
134
|
*/
|
|
135
135
|
postLogoutRedirectUris?: string[];
|
|
136
136
|
/**
|
|
137
137
|
* @remarks
|
|
138
|
-
* The list of redirect URIs
|
|
138
|
+
* The list of redirect URIs supported by the application.
|
|
139
139
|
*/
|
|
140
140
|
redirectUris?: string[];
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The validity period of the refresh token. Unit: seconds. Default value: 86400 (1 day).
|
|
143
|
+
* The validity period of the issued refresh token. Unit: seconds. Default value: 86400 (1 day).
|
|
144
144
|
*
|
|
145
145
|
* @example
|
|
146
146
|
* 86400
|
|
@@ -148,7 +148,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
148
148
|
refreshTokenEffective?: number;
|
|
149
149
|
/**
|
|
150
150
|
* @remarks
|
|
151
|
-
* The response
|
|
151
|
+
* The response types supported by the application when OidcSsoConfig.GrantTypes includes the implicit mode.
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* token id_token
|
|
@@ -156,7 +156,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
156
156
|
responseTypes?: string[];
|
|
157
157
|
/**
|
|
158
158
|
* @remarks
|
|
159
|
-
* The expression
|
|
159
|
+
* The custom expression for the sub value returned in the ID token.
|
|
160
160
|
*
|
|
161
161
|
* @example
|
|
162
162
|
* user.userid
|
|
@@ -237,7 +237,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfi
|
|
|
237
237
|
export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndpointDomain extends $dara.Model {
|
|
238
238
|
/**
|
|
239
239
|
* @remarks
|
|
240
|
-
* The OAuth 2.0 authorization endpoint. This parameter is returned only when the application
|
|
240
|
+
* The OAuth 2.0 authorization endpoint. This parameter is returned only when the application SSO protocol is OIDC.
|
|
241
241
|
*
|
|
242
242
|
* @example
|
|
243
243
|
* https://l1seshcn.aliyunidaas.com/login/app/app_mltta64q65enci54slingvvsgq/oauth2/authorize
|
|
@@ -245,7 +245,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
245
245
|
oauth2AuthorizationEndpoint?: string;
|
|
246
246
|
/**
|
|
247
247
|
* @remarks
|
|
248
|
-
* The OAuth 2.0 device authorization endpoint. This parameter is returned only when the application
|
|
248
|
+
* The OAuth 2.0 device authorization endpoint. This parameter is returned only when the application SSO protocol is OIDC.
|
|
249
249
|
*
|
|
250
250
|
* @example
|
|
251
251
|
* https://eiam-api-cn-hangzhou.aliyuncs.com/v2/idaas_ue2jvisn35ea5lmthk2676rypm/app_mltta64q65enci54slingvvsgq/oauth2/device/code
|
|
@@ -253,7 +253,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
253
253
|
oauth2DeviceAuthorizationEndpoint?: string;
|
|
254
254
|
/**
|
|
255
255
|
* @remarks
|
|
256
|
-
* The OAuth 2.0 token revocation endpoint. This parameter is returned only when the application
|
|
256
|
+
* The OAuth 2.0 token revocation endpoint. This parameter is returned only when the application SSO protocol is OIDC.
|
|
257
257
|
*
|
|
258
258
|
* @example
|
|
259
259
|
* https://eiam-api-cn-hangzhou.aliyuncs.com/v2/idaas_ue2jvisn35ea5lmthk2676rypm/app_mltta64q65enci54slingvvsgq/oauth2/revoke
|
|
@@ -261,7 +261,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
261
261
|
oauth2RevokeEndpoint?: string;
|
|
262
262
|
/**
|
|
263
263
|
* @remarks
|
|
264
|
-
* The OAuth 2.0 token endpoint. This parameter is returned only when the application
|
|
264
|
+
* The OAuth 2.0 token endpoint. This parameter is returned only when the application SSO protocol is OIDC.
|
|
265
265
|
*
|
|
266
266
|
* @example
|
|
267
267
|
* https://eiam-api-cn-hangzhou.aliyuncs.com/v2/idaas_ue2jvisn35ea5lmthk2676rypm/app_mltta64q65enci54slingvvsgq/oauth2/token
|
|
@@ -269,7 +269,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
269
269
|
oauth2TokenEndpoint?: string;
|
|
270
270
|
/**
|
|
271
271
|
* @remarks
|
|
272
|
-
* The OIDC
|
|
272
|
+
* The OIDC user information endpoint. This parameter is returned only when the application SSO protocol is OIDC.
|
|
273
273
|
*
|
|
274
274
|
* @example
|
|
275
275
|
* https://eiam-api-cn-hangzhou.aliyuncs.com/v2/idaas_ue2jvisn35ea5lmthk2676rypm/app_mltta64q65enci54slingvvsgq/oauth2/userinfo
|
|
@@ -277,7 +277,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
277
277
|
oauth2UserinfoEndpoint?: string;
|
|
278
278
|
/**
|
|
279
279
|
* @remarks
|
|
280
|
-
* The OIDC issuer. This parameter is returned only when the application
|
|
280
|
+
* The OIDC issuer information. This parameter is returned only when the application SSO protocol is OIDC.
|
|
281
281
|
*
|
|
282
282
|
* @example
|
|
283
283
|
* https://eiam-api-cn-hangzhou.aliyuncs.com/v2/idaas_ue2jvisn35ea5lmthk2676rypm/app_mltta64q65enci54slingvvsgq/oidc
|
|
@@ -285,7 +285,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
285
285
|
oidcIssuer?: string;
|
|
286
286
|
/**
|
|
287
287
|
* @remarks
|
|
288
|
-
* The
|
|
288
|
+
* The OIDC JWKS endpoint. This parameter is returned only when the application SSO protocol is OIDC.
|
|
289
289
|
*
|
|
290
290
|
* @example
|
|
291
291
|
* https://eiam-api-cn-hangzhou.aliyuncs.com/v2/idaas_ue2jvisn35ea5lmthk2676rypm/app_mltta64q65enci54slingvvsgq/oidc/jwks
|
|
@@ -293,7 +293,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
293
293
|
oidcJwksEndpoint?: string;
|
|
294
294
|
/**
|
|
295
295
|
* @remarks
|
|
296
|
-
* The OIDC
|
|
296
|
+
* The OIDC RP-initiated logout endpoint. This parameter is returned only when the application SSO protocol is OIDC.
|
|
297
297
|
*
|
|
298
298
|
* @example
|
|
299
299
|
* https://l1seshcn.aliyunidaas.com/login/app/app_mltta64q65enci54slingvvsgq/oauth2/logout
|
|
@@ -301,7 +301,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
301
301
|
oidcLogoutEndpoint?: string;
|
|
302
302
|
/**
|
|
303
303
|
* @remarks
|
|
304
|
-
* The metadata endpoint
|
|
304
|
+
* The SAML protocol metadata endpoint URL. This parameter is returned only when the application SSO protocol is SAML 2.0.
|
|
305
305
|
*
|
|
306
306
|
* @example
|
|
307
307
|
* https://l1seshcn.aliyunidaas.com/api/v2/app_mltuxdwd4lq4eer6tmtlmaxm5e/saml2/meta
|
|
@@ -309,7 +309,15 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
309
309
|
samlMetaEndpoint?: string;
|
|
310
310
|
/**
|
|
311
311
|
* @remarks
|
|
312
|
-
* The
|
|
312
|
+
* The SAML single logout URL (SLO URL) on the IdP side. The SP redirects the user to this URL to initiate single logout.
|
|
313
|
+
*
|
|
314
|
+
* @example
|
|
315
|
+
* https://example.com/saml/slo
|
|
316
|
+
*/
|
|
317
|
+
samlSloEndpoint?: string;
|
|
318
|
+
/**
|
|
319
|
+
* @remarks
|
|
320
|
+
* The SAML protocol AuthnRequest receiving endpoint. This parameter is returned only when the application SSO protocol is SAML 2.0.
|
|
313
321
|
*
|
|
314
322
|
* @example
|
|
315
323
|
* https://l1seshcn.aliyunidaas.com/login/app/app_mltuxdwd4lq4eer6tmtlmaxm5e/saml2/sso
|
|
@@ -326,6 +334,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
326
334
|
oidcJwksEndpoint: 'OidcJwksEndpoint',
|
|
327
335
|
oidcLogoutEndpoint: 'OidcLogoutEndpoint',
|
|
328
336
|
samlMetaEndpoint: 'SamlMetaEndpoint',
|
|
337
|
+
samlSloEndpoint: 'SamlSloEndpoint',
|
|
329
338
|
samlSsoEndpoint: 'SamlSsoEndpoint',
|
|
330
339
|
};
|
|
331
340
|
}
|
|
@@ -341,6 +350,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
341
350
|
oidcJwksEndpoint: 'string',
|
|
342
351
|
oidcLogoutEndpoint: 'string',
|
|
343
352
|
samlMetaEndpoint: 'string',
|
|
353
|
+
samlSloEndpoint: 'string',
|
|
344
354
|
samlSsoEndpoint: 'string',
|
|
345
355
|
};
|
|
346
356
|
}
|
|
@@ -357,7 +367,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndp
|
|
|
357
367
|
export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfigAttributeStatements extends $dara.Model {
|
|
358
368
|
/**
|
|
359
369
|
* @remarks
|
|
360
|
-
* The
|
|
370
|
+
* The Name of the attribute in the SAML assertion.
|
|
361
371
|
*
|
|
362
372
|
* @example
|
|
363
373
|
* https://www.aliyun.com/SAML-Role/Attributes/RoleSessionName
|
|
@@ -365,7 +375,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
365
375
|
attributeName?: string;
|
|
366
376
|
/**
|
|
367
377
|
* @remarks
|
|
368
|
-
* The
|
|
378
|
+
* The attribute value expression in the SAML assertion.
|
|
369
379
|
*
|
|
370
380
|
* @example
|
|
371
381
|
* user.username
|
|
@@ -405,7 +415,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
405
415
|
displayName?: string;
|
|
406
416
|
/**
|
|
407
417
|
* @remarks
|
|
408
|
-
* The optional RelayState value.
|
|
418
|
+
* The optional RelayState value. In the application portal, the application card displays multiple optional redirect addresses with display names. After a user clicks an address and completes SSO, the user is automatically redirected to the corresponding address.
|
|
409
419
|
*
|
|
410
420
|
* @example
|
|
411
421
|
* https://home.console.aliyun.com
|
|
@@ -437,11 +447,9 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
437
447
|
export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfig extends $dara.Model {
|
|
438
448
|
/**
|
|
439
449
|
* @remarks
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
* -
|
|
443
|
-
*
|
|
444
|
-
* - false: The assertion does not need to be signed.
|
|
450
|
+
* Specifies whether the assertion needs to be signed. ResponseSigned and AssertionSigned cannot both be set to false.
|
|
451
|
+
* - true: Signed.
|
|
452
|
+
* - false: Not signed.
|
|
445
453
|
*
|
|
446
454
|
* @example
|
|
447
455
|
* true
|
|
@@ -449,12 +457,12 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
449
457
|
assertionSigned?: boolean;
|
|
450
458
|
/**
|
|
451
459
|
* @remarks
|
|
452
|
-
* The
|
|
460
|
+
* The additional user attribute configuration included in the SAML assertion.
|
|
453
461
|
*/
|
|
454
462
|
attributeStatements?: GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfigAttributeStatements[];
|
|
455
463
|
/**
|
|
456
464
|
* @remarks
|
|
457
|
-
* The default value
|
|
465
|
+
* The default RelayState value. When the single sign-on (SSO) request is initiated by EIAM, the SAML Response provided by EIAM specifies the RelayState as this value. This applies when the user logon request is initiated by EIAM.
|
|
458
466
|
*
|
|
459
467
|
* @example
|
|
460
468
|
* https://home.console.aliyun.com
|
|
@@ -462,7 +470,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
462
470
|
defaultRelayState?: string;
|
|
463
471
|
/**
|
|
464
472
|
* @remarks
|
|
465
|
-
* The
|
|
473
|
+
* The Entity ID that represents the IdP identity in the SAML protocol.
|
|
466
474
|
*
|
|
467
475
|
* @example
|
|
468
476
|
* https://example.com/
|
|
@@ -470,14 +478,10 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
470
478
|
idPEntityId?: string;
|
|
471
479
|
/**
|
|
472
480
|
* @remarks
|
|
473
|
-
* The format
|
|
474
|
-
*
|
|
481
|
+
* The NameID format defined by the SAML protocol standard. Valid values:
|
|
475
482
|
* - urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified: Unspecified. The application determines how to parse the NameID.
|
|
476
|
-
*
|
|
477
483
|
* - urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress: Email address format.
|
|
478
|
-
*
|
|
479
484
|
* - urn:oasis:names:tc:SAML:2.0:nameid-format:persistent: Persistent NameID.
|
|
480
|
-
*
|
|
481
485
|
* - urn:oasis:names:tc:SAML:2.0:nameid-format:transient: Transient NameID.
|
|
482
486
|
*
|
|
483
487
|
* @example
|
|
@@ -486,7 +490,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
486
490
|
nameIdFormat?: string;
|
|
487
491
|
/**
|
|
488
492
|
* @remarks
|
|
489
|
-
* The expression used to generate the
|
|
493
|
+
* The expression used to generate the actual NameID value in the SAML protocol.
|
|
490
494
|
*
|
|
491
495
|
* @example
|
|
492
496
|
* user.username
|
|
@@ -494,16 +498,22 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
494
498
|
nameIdValueExpression?: string;
|
|
495
499
|
/**
|
|
496
500
|
* @remarks
|
|
497
|
-
* The optional RelayState values.
|
|
501
|
+
* The optional RelayState values. In the application portal, the application card displays multiple optional redirect addresses with display names. After a user clicks an address and completes SSO, the user is automatically redirected to the corresponding address. You can specify optional redirect addresses only after you specify a default redirect address.
|
|
498
502
|
*/
|
|
499
503
|
optionalRelayStates?: GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfigOptionalRelayStates[];
|
|
500
504
|
/**
|
|
501
505
|
* @remarks
|
|
502
|
-
* Indicates whether
|
|
503
|
-
*
|
|
504
|
-
* - true: The response must be signed.
|
|
506
|
+
* Indicates whether SSO AuthnRequest signature verification is enabled.
|
|
505
507
|
*
|
|
506
|
-
*
|
|
508
|
+
* @example
|
|
509
|
+
* true
|
|
510
|
+
*/
|
|
511
|
+
requireAuthnRequestSigned?: boolean;
|
|
512
|
+
/**
|
|
513
|
+
* @remarks
|
|
514
|
+
* Indicates whether the Response needs to be signed. ResponseSigned and AssertionSigned cannot both be set to false. Valid values:
|
|
515
|
+
* - true: Signing is required.
|
|
516
|
+
* - false: Signing is not required.
|
|
507
517
|
*
|
|
508
518
|
* @example
|
|
509
519
|
* true
|
|
@@ -519,7 +529,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
519
529
|
signatureAlgorithm?: string;
|
|
520
530
|
/**
|
|
521
531
|
* @remarks
|
|
522
|
-
* The SAML
|
|
532
|
+
* The SAML EntityId of the application (SP).
|
|
523
533
|
*
|
|
524
534
|
* @example
|
|
525
535
|
* urn:alibaba:cloudcomputing
|
|
@@ -527,7 +537,23 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
527
537
|
spEntityId?: string;
|
|
528
538
|
/**
|
|
529
539
|
* @remarks
|
|
530
|
-
* The
|
|
540
|
+
* The configured SP signing verification certificates in PEM format. A maximum of two certificates are returned for the console or API caller to read and display.
|
|
541
|
+
*
|
|
542
|
+
* @example
|
|
543
|
+
* -----BEGIN CERTIFICATE----- MIIC0jCCAbqgAwIBAgIQXXXXX -----END CERTIFICATE-----
|
|
544
|
+
*/
|
|
545
|
+
spSigningCertificates?: string[];
|
|
546
|
+
/**
|
|
547
|
+
* @remarks
|
|
548
|
+
* The configured SP SLO response URL.
|
|
549
|
+
*
|
|
550
|
+
* @example
|
|
551
|
+
* https://example.com/api/slo/response
|
|
552
|
+
*/
|
|
553
|
+
spSloResponseUrl?: string;
|
|
554
|
+
/**
|
|
555
|
+
* @remarks
|
|
556
|
+
* The SAML Assertion Consumer Service (ACS) URL of the application (SP).
|
|
531
557
|
*
|
|
532
558
|
* @example
|
|
533
559
|
* https://signin.aliyun.com/saml-role/sso
|
|
@@ -542,9 +568,12 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
542
568
|
nameIdFormat: 'NameIdFormat',
|
|
543
569
|
nameIdValueExpression: 'NameIdValueExpression',
|
|
544
570
|
optionalRelayStates: 'OptionalRelayStates',
|
|
571
|
+
requireAuthnRequestSigned: 'RequireAuthnRequestSigned',
|
|
545
572
|
responseSigned: 'ResponseSigned',
|
|
546
573
|
signatureAlgorithm: 'SignatureAlgorithm',
|
|
547
574
|
spEntityId: 'SpEntityId',
|
|
575
|
+
spSigningCertificates: 'SpSigningCertificates',
|
|
576
|
+
spSloResponseUrl: 'SpSloResponseUrl',
|
|
548
577
|
spSsoAcsUrl: 'SpSsoAcsUrl',
|
|
549
578
|
};
|
|
550
579
|
}
|
|
@@ -558,9 +587,12 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
558
587
|
nameIdFormat: 'string',
|
|
559
588
|
nameIdValueExpression: 'string',
|
|
560
589
|
optionalRelayStates: { 'type': 'array', 'itemType': GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfigOptionalRelayStates },
|
|
590
|
+
requireAuthnRequestSigned: 'boolean',
|
|
561
591
|
responseSigned: 'boolean',
|
|
562
592
|
signatureAlgorithm: 'string',
|
|
563
593
|
spEntityId: 'string',
|
|
594
|
+
spSigningCertificates: { 'type': 'array', 'itemType': 'string' },
|
|
595
|
+
spSloResponseUrl: 'string',
|
|
564
596
|
spSsoAcsUrl: 'string',
|
|
565
597
|
};
|
|
566
598
|
}
|
|
@@ -572,6 +604,9 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
572
604
|
if(Array.isArray(this.optionalRelayStates)) {
|
|
573
605
|
$dara.Model.validateArray(this.optionalRelayStates);
|
|
574
606
|
}
|
|
607
|
+
if(Array.isArray(this.spSigningCertificates)) {
|
|
608
|
+
$dara.Model.validateArray(this.spSigningCertificates);
|
|
609
|
+
}
|
|
575
610
|
super.validate();
|
|
576
611
|
}
|
|
577
612
|
|
|
@@ -583,11 +618,9 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfi
|
|
|
583
618
|
export class GetApplicationSsoConfigResponseBodyApplicationSsoConfig extends $dara.Model {
|
|
584
619
|
/**
|
|
585
620
|
* @remarks
|
|
586
|
-
* The SSO
|
|
587
|
-
*
|
|
588
|
-
* -
|
|
589
|
-
*
|
|
590
|
-
* - idaas_or_app_init_sso: SSO can be initiated by the IDaaS console or the application. This is the default value for SAML applications. If this method is used for an OIDC application, you must specify InitLoginUrl.
|
|
621
|
+
* The initialization single sign-on (SSO) method. Valid values:
|
|
622
|
+
* - only_app_init_sso: Only application-initiated SSO. This is the default value for OIDC protocol applications. When a SAML application specifies this method, InitLoginUrl must be specified.
|
|
623
|
+
* - idaas_or_app_init_sso: IDaaS portal-initiated or application-initiated SSO. This is the default value for SAML protocol applications. When an OIDC application specifies this method, InitLoginUrl must be specified.
|
|
591
624
|
*
|
|
592
625
|
* @example
|
|
593
626
|
* only_app_init_sso
|
|
@@ -595,7 +628,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfig extends $da
|
|
|
595
628
|
initLoginType?: string;
|
|
596
629
|
/**
|
|
597
630
|
* @remarks
|
|
598
|
-
* The
|
|
631
|
+
* The initialization single sign-on (SSO) trigger URL. This parameter is required when the InitLoginType of an OIDC protocol application is set to idaas_or_app_init_sso, or when the InitLoginType of a SAML protocol application is set to only_app_init_sso.
|
|
599
632
|
*
|
|
600
633
|
* @example
|
|
601
634
|
* http://127.0.0.1:8000/start_login?enterprise_code=ABCDEF
|
|
@@ -603,25 +636,23 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfig extends $da
|
|
|
603
636
|
initLoginUrl?: string;
|
|
604
637
|
/**
|
|
605
638
|
* @remarks
|
|
606
|
-
* The SSO configuration parameters for
|
|
639
|
+
* The SSO configuration parameters for OIDC protocol applications. This parameter is returned only when the application SSO protocol is OIDC.
|
|
607
640
|
*/
|
|
608
641
|
oidcSsoConfig?: GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfig;
|
|
609
642
|
/**
|
|
610
643
|
* @remarks
|
|
611
|
-
* The
|
|
644
|
+
* The metadata endpoint configuration provided by the application.
|
|
612
645
|
*/
|
|
613
646
|
protocolEndpointDomain?: GetApplicationSsoConfigResponseBodyApplicationSsoConfigProtocolEndpointDomain;
|
|
614
647
|
/**
|
|
615
648
|
* @remarks
|
|
616
|
-
* The SSO configuration parameters for
|
|
649
|
+
* The SSO configuration parameters for SAML protocol applications. This parameter is returned only when the application SSO protocol is SAML 2.0.
|
|
617
650
|
*/
|
|
618
651
|
samlSsoConfig?: GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfig;
|
|
619
652
|
/**
|
|
620
653
|
* @remarks
|
|
621
|
-
* The status of the
|
|
622
|
-
*
|
|
654
|
+
* The SSO status of the application. Valid values:
|
|
623
655
|
* - enabled: Enabled.
|
|
624
|
-
*
|
|
625
656
|
* - disabled: Disabled.
|
|
626
657
|
*
|
|
627
658
|
* @example
|
|
@@ -671,7 +702,7 @@ export class GetApplicationSsoConfigResponseBodyApplicationSsoConfig extends $da
|
|
|
671
702
|
export class GetApplicationSsoConfigResponseBody extends $dara.Model {
|
|
672
703
|
/**
|
|
673
704
|
* @remarks
|
|
674
|
-
* The SSO configuration of the application.
|
|
705
|
+
* The single sign-on (SSO) configuration information of the application.
|
|
675
706
|
*/
|
|
676
707
|
applicationSsoConfig?: GetApplicationSsoConfigResponseBodyApplicationSsoConfig;
|
|
677
708
|
/**
|
|
@@ -111,7 +111,7 @@ export class GetAuthorizationResourceResponseBodyAuthorizationResource extends $
|
|
|
111
111
|
condition?: GetAuthorizationResourceResponseBodyAuthorizationResourceCondition;
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The creation time.
|
|
114
|
+
* The creation time, in UNIX timestamp format. Unit: milliseconds.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* 1787023451494
|
|
@@ -127,7 +127,7 @@ export class GetAuthorizationResourceResponseBodyAuthorizationResource extends $
|
|
|
127
127
|
instanceId?: string;
|
|
128
128
|
/**
|
|
129
129
|
* @remarks
|
|
130
|
-
* The update time.
|
|
130
|
+
* The update time, in UNIX timestamp format. Unit: milliseconds.
|
|
131
131
|
*
|
|
132
132
|
* @example
|
|
133
133
|
* 1787023451494
|