@alicloud/eiam20211201 2.17.5 → 2.17.6
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.js +1 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCredentialProviderRequest.d.ts +43 -14
- package/dist/models/CreateCredentialProviderRequest.js +14 -0
- package/dist/models/CreateCredentialProviderRequest.js.map +1 -1
- package/dist/models/GetCredentialProviderResponseBody.d.ts +51 -15
- package/dist/models/GetCredentialProviderResponseBody.js +16 -0
- package/dist/models/GetCredentialProviderResponseBody.js.map +1 -1
- package/dist/models/ListCredentialProvidersRequest.d.ts +0 -3
- package/dist/models/ListCredentialProvidersRequest.js.map +1 -1
- package/dist/models/ListCredentialProvidersResponseBody.d.ts +51 -28
- package/dist/models/ListCredentialProvidersResponseBody.js +16 -0
- package/dist/models/ListCredentialProvidersResponseBody.js.map +1 -1
- package/dist/models/UpdateCredentialProviderRequest.d.ts +39 -6
- package/dist/models/UpdateCredentialProviderRequest.js +14 -0
- package/dist/models/UpdateCredentialProviderRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -0
- package/src/models/CreateCredentialProviderRequest.ts +57 -14
- package/src/models/GetCredentialProviderResponseBody.ts +67 -15
- package/src/models/ListCredentialProvidersRequest.ts +0 -3
- package/src/models/ListCredentialProvidersResponseBody.ts +67 -28
- package/src/models/UpdateCredentialProviderRequest.ts +53 -6
|
@@ -4,7 +4,7 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigJwtP
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The list of allowed JWT issuers.
|
|
6
6
|
*
|
|
7
|
-
* > The list
|
|
7
|
+
* > The list length cannot exceed 200.
|
|
8
8
|
*/
|
|
9
9
|
allowedTokenIssuers?: string[];
|
|
10
10
|
/**
|
|
@@ -17,7 +17,7 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigJwtP
|
|
|
17
17
|
derivedShortTokenEnabled?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The validity
|
|
20
|
+
* The validity duration of the JWT. Unit: seconds.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* 900
|
|
@@ -45,7 +45,17 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigJwtP
|
|
|
45
45
|
export declare class CreateCredentialProviderRequestCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The endpoint address used to guide users through authorization. Conditionally required: required when AuthorizationFlow=user_federation and ProviderVendor=custom. For preset vendors, this can be automatically populated through DiscoveryUrl.
|
|
49
|
+
*/
|
|
50
|
+
authorizationEndpoint?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The OAuth authorization flow type. Valid values: m2m: machine-to-machine (2LO, Client Credentials). user_federation: user federation (3LO, Authorization Code).
|
|
54
|
+
*/
|
|
55
|
+
authorizationFlow?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The client_id in the OAuth protocol.
|
|
49
59
|
*
|
|
50
60
|
* > The length cannot exceed 128 characters.
|
|
51
61
|
*
|
|
@@ -57,7 +67,7 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigOAut
|
|
|
57
67
|
clientId?: string;
|
|
58
68
|
/**
|
|
59
69
|
* @remarks
|
|
60
|
-
* The client_secret in the OAuth protocol
|
|
70
|
+
* The client_secret in the OAuth protocol.
|
|
61
71
|
*
|
|
62
72
|
* > The length cannot exceed 1024 characters.
|
|
63
73
|
*
|
|
@@ -69,13 +79,34 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigOAut
|
|
|
69
79
|
clientSecret?: string;
|
|
70
80
|
/**
|
|
71
81
|
* @remarks
|
|
72
|
-
* The
|
|
82
|
+
* The Discovery document URL used to automatically retrieve OAuth endpoint configurations. Conditionally optional: used when AuthorizationFlow=user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
83
|
+
*/
|
|
84
|
+
discoveryUrl?: string;
|
|
85
|
+
issuer?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The PKCE code_challenge generation method. Default value: s256.
|
|
89
|
+
*/
|
|
90
|
+
pkceChallengeMethod?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* Specifies whether to use the PKCE extension to enhance security. We recommend that you always enable this feature.
|
|
94
|
+
*/
|
|
95
|
+
pkceEnabled?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The preset vendor or custom configuration. Optional. Default value: custom.
|
|
99
|
+
*/
|
|
100
|
+
providerVendor?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The scope in the OAuth protocol, which defines the permission range.
|
|
73
104
|
*
|
|
74
|
-
* > The Scope configuration on the credential provider serves as the
|
|
105
|
+
* > The Scope configuration on the credential provider serves as the fallback value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth Access Token, the Scope configuration on the credential provider is used for issuance.
|
|
75
106
|
*
|
|
76
107
|
* >Notice: Separate multiple Scope values with spaces.
|
|
77
108
|
*
|
|
78
|
-
*
|
|
109
|
+
* Restrictions for each individual Scope value:
|
|
79
110
|
* 1. Allowed characters: lowercase letters, digits, and the special characters `|/:_-.`
|
|
80
111
|
* 2. Must contain at least one lowercase letter or digit.
|
|
81
112
|
* 3. Must start with the special character `.`, a lowercase letter, or a digit.
|
|
@@ -89,9 +120,7 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigOAut
|
|
|
89
120
|
* @remarks
|
|
90
121
|
* The token endpoint of the OAuth protocol.
|
|
91
122
|
*
|
|
92
|
-
* >
|
|
93
|
-
*
|
|
94
|
-
* This parameter is required.
|
|
123
|
+
* > Must start with `http://` or `https://`, and the length cannot exceed 1024 characters.
|
|
95
124
|
*
|
|
96
125
|
* @example
|
|
97
126
|
* https://example.com/token
|
|
@@ -135,7 +164,7 @@ export declare class CreateCredentialProviderRequest extends $dara.Model {
|
|
|
135
164
|
* @remarks
|
|
136
165
|
* The idempotency token that ensures the idempotence of the request.
|
|
137
166
|
*
|
|
138
|
-
* Generate a parameter value from your client to ensure
|
|
167
|
+
* Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters in length. For more information, see References [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
139
168
|
*
|
|
140
169
|
* This parameter is required.
|
|
141
170
|
*
|
|
@@ -150,7 +179,7 @@ export declare class CreateCredentialProviderRequest extends $dara.Model {
|
|
|
150
179
|
credentialProviderConfig?: CreateCredentialProviderRequestCredentialProviderConfig;
|
|
151
180
|
/**
|
|
152
181
|
* @remarks
|
|
153
|
-
* The
|
|
182
|
+
* The identifier of the credential provider.
|
|
154
183
|
*
|
|
155
184
|
* > Allowed characters include uppercase and lowercase letters, digits, and the special characters `.-_`. The length cannot exceed 64 characters.
|
|
156
185
|
*
|
|
@@ -176,8 +205,8 @@ export declare class CreateCredentialProviderRequest extends $dara.Model {
|
|
|
176
205
|
* @remarks
|
|
177
206
|
* The type of the credential provider. Valid values:
|
|
178
207
|
*
|
|
179
|
-
* - oauth: OAuth credential provider
|
|
180
|
-
* - jwt: JWT credential provider
|
|
208
|
+
* - oauth: OAuth credential provider.
|
|
209
|
+
* - jwt: JWT credential provider.
|
|
181
210
|
*
|
|
182
211
|
* This parameter is required.
|
|
183
212
|
*
|
|
@@ -67,16 +67,30 @@ exports.CreateCredentialProviderRequestCredentialProviderConfigJwtProviderConfig
|
|
|
67
67
|
class CreateCredentialProviderRequestCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
68
68
|
static names() {
|
|
69
69
|
return {
|
|
70
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
71
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
70
72
|
clientId: 'ClientId',
|
|
71
73
|
clientSecret: 'ClientSecret',
|
|
74
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
75
|
+
issuer: 'Issuer',
|
|
76
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
77
|
+
pkceEnabled: 'PkceEnabled',
|
|
78
|
+
providerVendor: 'ProviderVendor',
|
|
72
79
|
scope: 'Scope',
|
|
73
80
|
tokenEndpoint: 'TokenEndpoint',
|
|
74
81
|
};
|
|
75
82
|
}
|
|
76
83
|
static types() {
|
|
77
84
|
return {
|
|
85
|
+
authorizationEndpoint: 'string',
|
|
86
|
+
authorizationFlow: 'string',
|
|
78
87
|
clientId: 'string',
|
|
79
88
|
clientSecret: 'string',
|
|
89
|
+
discoveryUrl: 'string',
|
|
90
|
+
issuer: 'string',
|
|
91
|
+
pkceChallengeMethod: 'string',
|
|
92
|
+
pkceEnabled: 'boolean',
|
|
93
|
+
providerVendor: 'string',
|
|
80
94
|
scope: 'string',
|
|
81
95
|
tokenEndpoint: 'string',
|
|
82
96
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCredentialProviderRequest.js","sourceRoot":"","sources":["../../src/models/CreateCredentialProviderRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;IAgCvG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;SACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC9D,wBAAwB,EAAE,SAAS;YACnC,UAAU,EAAE,QAAQ;YACpB,wBAAwB,EAAE,SAAS;SACpC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5DD,4JA4DC;AAED,MAAa,0EAA2E,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateCredentialProviderRequest.js","sourceRoot":"","sources":["../../src/models/CreateCredentialProviderRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;IAgCvG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;SACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC9D,wBAAwB,EAAE,SAAS;YACnC,UAAU,EAAE,QAAQ;YACpB,wBAAwB,EAAE,SAAS;SACpC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;I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KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7GD,0EA6GC"}
|
|
@@ -7,7 +7,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
7
7
|
allowedTokenIssuers?: string[];
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
*
|
|
10
|
+
* Specifies whether to enable the JWT derived short token capability.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* false
|
|
@@ -15,7 +15,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
15
15
|
derivedShortTokenEnabled?: boolean;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The validity period of the JWT
|
|
18
|
+
* The validity period of the JWT. Unit: seconds.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 900
|
|
@@ -23,7 +23,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
23
23
|
expiration?: number;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* Specifies whether to enable JWT expiration cleanup.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* true
|
|
@@ -39,7 +39,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
39
39
|
issuer?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The JWKs endpoint
|
|
42
|
+
* The JWKs endpoint address.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* https://example123456.aliyunidaas.com/api/v2/auths_ngz2wj35ixxxdyat55nexxxxxx/oauth2/jwks
|
|
@@ -57,6 +57,16 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
export declare class GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The endpoint address used to guide users through authorization. This parameter is conditionally required: it is required when AuthorizationFlow is set to user_federation and ProviderVendor is set to custom. For preset vendors, this value can be automatically populated through DiscoveryUrl.
|
|
63
|
+
*/
|
|
64
|
+
authorizationEndpoint?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The OAuth authorization flow type. Valid values: m2m: machine-to-machine (2LO, Client Credentials). user_federation: user federation (3LO, Authorization Code).
|
|
68
|
+
*/
|
|
69
|
+
authorizationFlow?: string;
|
|
60
70
|
/**
|
|
61
71
|
* @remarks
|
|
62
72
|
* The client_id in the OAuth protocol.
|
|
@@ -67,9 +77,30 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
67
77
|
clientId?: string;
|
|
68
78
|
/**
|
|
69
79
|
* @remarks
|
|
70
|
-
* The
|
|
80
|
+
* The URL of the discovery document used to automatically obtain OAuth endpoint configurations. This parameter is conditionally optional: it is used when AuthorizationFlow is set to user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
81
|
+
*/
|
|
82
|
+
discoveryUrl?: string;
|
|
83
|
+
issuer?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The PKCE code_challenge generation method. Default value: s256.
|
|
87
|
+
*/
|
|
88
|
+
pkceChallengeMethod?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* Specifies whether to use the PKCE extension to enhance security. We recommend that you always enable this feature.
|
|
92
|
+
*/
|
|
93
|
+
pkceEnabled?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The preset vendor or custom configuration. This parameter is optional. Default value: custom.
|
|
97
|
+
*/
|
|
98
|
+
providerVendor?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The scope in the OAuth protocol, which specifies the permission scope.
|
|
71
102
|
*
|
|
72
|
-
* > The scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the scope configuration of the credential provider is used for issuance.
|
|
103
|
+
* > The scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the scope configuration of the credential provider is used for token issuance.
|
|
73
104
|
*
|
|
74
105
|
* >Notice: Multiple scope values are separated by spaces.
|
|
75
106
|
*
|
|
@@ -77,6 +108,11 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
77
108
|
* example:test_01 example:test_02
|
|
78
109
|
*/
|
|
79
110
|
scope?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The redirect URI automatically generated by the system when the credential provider is created. Configure this value as the redirect_uri in the OAuth provider.
|
|
114
|
+
*/
|
|
115
|
+
systemRedirectUri?: string;
|
|
80
116
|
/**
|
|
81
117
|
* @remarks
|
|
82
118
|
* The token endpoint of the OAuth protocol.
|
|
@@ -109,7 +145,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
109
145
|
OAuthProviderConfig?: GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig;
|
|
110
146
|
/**
|
|
111
147
|
* @remarks
|
|
112
|
-
* The list of credential IDs
|
|
148
|
+
* The list of credential IDs that correspond to the sensitive configurations of the credential provider.
|
|
113
149
|
*
|
|
114
150
|
* > The system securely stores the sensitive configuration information of the credential provider in the form of credentials.
|
|
115
151
|
*/
|
|
@@ -128,7 +164,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
128
164
|
export declare class GetCredentialProviderResponseBodyCredentialProvider extends $dara.Model {
|
|
129
165
|
/**
|
|
130
166
|
* @remarks
|
|
131
|
-
* The
|
|
167
|
+
* The time when the credential provider was created. The value is a UNIX timestamp in milliseconds.
|
|
132
168
|
*
|
|
133
169
|
* @example
|
|
134
170
|
* 1649830225000
|
|
@@ -136,12 +172,12 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
136
172
|
createTime?: number;
|
|
137
173
|
/**
|
|
138
174
|
* @remarks
|
|
139
|
-
* The credential provider
|
|
175
|
+
* The configuration of the credential provider.
|
|
140
176
|
*/
|
|
141
177
|
credentialProviderConfig?: GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfig;
|
|
142
178
|
/**
|
|
143
179
|
* @remarks
|
|
144
|
-
* The credential provider
|
|
180
|
+
* The creation type of the credential provider. Valid values:
|
|
145
181
|
*
|
|
146
182
|
* - system_init: Created by the system.
|
|
147
183
|
* - user_custom: Created by the user.
|
|
@@ -160,7 +196,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
160
196
|
credentialProviderId?: string;
|
|
161
197
|
/**
|
|
162
198
|
* @remarks
|
|
163
|
-
* The credential provider
|
|
199
|
+
* The business identifier of the credential provider.
|
|
164
200
|
*
|
|
165
201
|
* @example
|
|
166
202
|
* test_example_identifier
|
|
@@ -168,7 +204,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
168
204
|
credentialProviderIdentifier?: string;
|
|
169
205
|
/**
|
|
170
206
|
* @remarks
|
|
171
|
-
* The credential provider
|
|
207
|
+
* The name of the credential provider.
|
|
172
208
|
*
|
|
173
209
|
* @example
|
|
174
210
|
* test_example_name
|
|
@@ -176,7 +212,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
176
212
|
credentialProviderName?: string;
|
|
177
213
|
/**
|
|
178
214
|
* @remarks
|
|
179
|
-
* The credential provider
|
|
215
|
+
* The type of the credential provider. Valid values:
|
|
180
216
|
*
|
|
181
217
|
* - oauth: OAuth credential provider.
|
|
182
218
|
* - jwt: JWT credential provider.
|
|
@@ -203,7 +239,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
203
239
|
instanceId?: string;
|
|
204
240
|
/**
|
|
205
241
|
* @remarks
|
|
206
|
-
* The credential provider
|
|
242
|
+
* The status of the credential provider. Valid values:
|
|
207
243
|
*
|
|
208
244
|
* - enabled: Enabled.
|
|
209
245
|
* - disabled: Disabled.
|
|
@@ -214,7 +250,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
214
250
|
status?: string;
|
|
215
251
|
/**
|
|
216
252
|
* @remarks
|
|
217
|
-
* The
|
|
253
|
+
* The time when the credential provider was last updated. The value is a UNIX timestamp in milliseconds.
|
|
218
254
|
*
|
|
219
255
|
* @example
|
|
220
256
|
* 1649830225000
|
|
@@ -71,15 +71,31 @@ exports.GetCredentialProviderResponseBodyCredentialProviderCredentialProviderCon
|
|
|
71
71
|
class GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
72
72
|
static names() {
|
|
73
73
|
return {
|
|
74
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
75
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
74
76
|
clientId: 'ClientId',
|
|
77
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
78
|
+
issuer: 'Issuer',
|
|
79
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
80
|
+
pkceEnabled: 'PkceEnabled',
|
|
81
|
+
providerVendor: 'ProviderVendor',
|
|
75
82
|
scope: 'Scope',
|
|
83
|
+
systemRedirectUri: 'SystemRedirectUri',
|
|
76
84
|
tokenEndpoint: 'TokenEndpoint',
|
|
77
85
|
};
|
|
78
86
|
}
|
|
79
87
|
static types() {
|
|
80
88
|
return {
|
|
89
|
+
authorizationEndpoint: 'string',
|
|
90
|
+
authorizationFlow: 'string',
|
|
81
91
|
clientId: 'string',
|
|
92
|
+
discoveryUrl: 'string',
|
|
93
|
+
issuer: 'string',
|
|
94
|
+
pkceChallengeMethod: 'string',
|
|
95
|
+
pkceEnabled: 'boolean',
|
|
96
|
+
providerVendor: 'string',
|
|
82
97
|
scope: 'string',
|
|
98
|
+
systemRedirectUri: 'string',
|
|
83
99
|
tokenEndpoint: 'string',
|
|
84
100
|
};
|
|
85
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetCredentialProviderResponseBody.js","sourceRoot":"","sources":["../../src/models/GetCredentialProviderResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4FAA6F,SAAQ,KAAK,CAAC,KAAK;IA8C3H,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;YACpD,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC9D,wBAAwB,EAAE,SAAS;YACnC,UAAU,EAAE,QAAQ;YACpB,wBAAwB,EAAE,SAAS;YACnC,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9ED,oMA8EC;AAED,MAAa,8FAA+F,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"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AC,wBAAwB,IAAI,OAAQ,IAAI,CAAC,wBAAgC,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzG,IAAI,CAAC,wBAAgC,CAAC,QAAQ,EAAE,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzID,kHAyIC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAchE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,mDAAmD;YACvE,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,kBAAkB,IAAI,OAAQ,IAAI,CAAC,kBAA0B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7F,IAAI,CAAC,kBAA0B,CAAC,QAAQ,EAAE,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,8EAsCC"}
|
|
@@ -4,9 +4,6 @@ export declare class ListCredentialProvidersRequestFilter extends $dara.Model {
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The filter condition name. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* - CredentialProviderName: the credential provider name.
|
|
8
|
-
* - CredentialProviderIdentifier: the credential provider identifier.
|
|
9
|
-
*
|
|
10
7
|
* @example
|
|
11
8
|
* CredentialProviderName
|
|
12
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListCredentialProvidersRequest.js","sourceRoot":"","sources":["../../src/models/ListCredentialProvidersRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListCredentialProvidersRequest.js","sourceRoot":"","sources":["../../src/models/ListCredentialProvidersRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAcnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SACjD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,oFAsCC;AAED,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IA+C7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,uBAAuB;YAC9C,uBAAuB,EAAE,yBAAyB;YAClD,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,K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ListCredentialProvidersResponseBodyCredentialProvidersCrede
|
|
|
7
7
|
allowedTokenIssuers?: string[];
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
*
|
|
10
|
+
* Specifies whether to enable the JWT-derived short token capability.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* false
|
|
@@ -23,7 +23,7 @@ export declare class ListCredentialProvidersResponseBodyCredentialProvidersCrede
|
|
|
23
23
|
expiration?: number;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* Specifies whether to enable JWT expiration cleanup.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* true
|
|
@@ -59,24 +59,58 @@ export declare class ListCredentialProvidersResponseBodyCredentialProvidersCrede
|
|
|
59
59
|
export declare class ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* The
|
|
62
|
+
* The endpoint URL used to guide users through authorization. Conditionally required: this parameter is required when AuthorizationFlow is set to user_federation and ProviderVendor is set to custom. For preset vendors, this value can be automatically populated through DiscoveryUrl.
|
|
63
|
+
*/
|
|
64
|
+
authorizationEndpoint?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The OAuth authorization flow type. Valid values:
|
|
68
|
+
* - m2m: machine-to-machine (2LO, Client Credentials).
|
|
69
|
+
* - user_federation: user federation (3LO, Authorization Code).
|
|
70
|
+
*/
|
|
71
|
+
authorizationFlow?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The client_id in the OAuth protocol.
|
|
63
75
|
*
|
|
64
76
|
* @example
|
|
65
77
|
* client_id_example_xxx
|
|
66
78
|
*/
|
|
67
79
|
clientId?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The URL of the discovery document used to automatically obtain OAuth endpoint configurations. Conditionally optional: used when AuthorizationFlow is set to user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
83
|
+
*/
|
|
84
|
+
discoveryUrl?: string;
|
|
85
|
+
issuer?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The method used to generate the PKCE code_challenge. Default value: s256.
|
|
89
|
+
*/
|
|
90
|
+
pkceChallengeMethod?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* Specifies whether to use the PKCE extension to enhance security. We recommend that you always enable this feature.
|
|
94
|
+
*/
|
|
95
|
+
pkceEnabled?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The preset vendor or custom configuration. Optional. Default value: custom.
|
|
99
|
+
*/
|
|
100
|
+
providerVendor?: string;
|
|
68
101
|
/**
|
|
69
102
|
* @remarks
|
|
70
103
|
* The scope in the OAuth protocol, which specifies the permission scope.
|
|
71
104
|
*
|
|
72
|
-
* > The Scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the Scope configuration of the credential provider is used for token issuance.
|
|
73
|
-
*
|
|
74
|
-
* >Notice: Multiple Scope values are separated by spaces.
|
|
75
|
-
*
|
|
76
105
|
* @example
|
|
77
106
|
* example:test_01 example:test_02
|
|
78
107
|
*/
|
|
79
108
|
scope?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The redirect URI automatically generated by the system when the credential provider is created. Configure this value as the redirect_uri in the OAuth provider.
|
|
112
|
+
*/
|
|
113
|
+
systemRedirectUri?: string;
|
|
80
114
|
/**
|
|
81
115
|
* @remarks
|
|
82
116
|
* The token endpoint of the OAuth protocol.
|
|
@@ -99,19 +133,17 @@ export declare class ListCredentialProvidersResponseBodyCredentialProvidersCrede
|
|
|
99
133
|
export declare class ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfig extends $dara.Model {
|
|
100
134
|
/**
|
|
101
135
|
* @remarks
|
|
102
|
-
* The configuration of the JWT credential provider.
|
|
136
|
+
* The configuration of the JWT-type credential provider.
|
|
103
137
|
*/
|
|
104
138
|
jwtProviderConfig?: ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfigJwtProviderConfig;
|
|
105
139
|
/**
|
|
106
140
|
* @remarks
|
|
107
|
-
* The configuration of the OAuth credential provider.
|
|
141
|
+
* The configuration of the OAuth-type credential provider.
|
|
108
142
|
*/
|
|
109
143
|
OAuthProviderConfig?: ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfigOAuthProviderConfig;
|
|
110
144
|
/**
|
|
111
145
|
* @remarks
|
|
112
|
-
* The list of credential IDs that correspond to the sensitive
|
|
113
|
-
*
|
|
114
|
-
* > The system securely stores the sensitive configuration of the credential provider as credentials.
|
|
146
|
+
* The list of credential IDs that correspond to the sensitive configurations of the credential provider.
|
|
115
147
|
*/
|
|
116
148
|
providerCredentialIds?: string[];
|
|
117
149
|
static names(): {
|
|
@@ -128,7 +160,7 @@ export declare class ListCredentialProvidersResponseBodyCredentialProvidersCrede
|
|
|
128
160
|
export declare class ListCredentialProvidersResponseBodyCredentialProviders extends $dara.Model {
|
|
129
161
|
/**
|
|
130
162
|
* @remarks
|
|
131
|
-
* The
|
|
163
|
+
* The time when the credential provider was created. The value is a UNIX timestamp in milliseconds.
|
|
132
164
|
*
|
|
133
165
|
* @example
|
|
134
166
|
* 1649830225000
|
|
@@ -136,16 +168,13 @@ export declare class ListCredentialProvidersResponseBodyCredentialProviders exte
|
|
|
136
168
|
createTime?: number;
|
|
137
169
|
/**
|
|
138
170
|
* @remarks
|
|
139
|
-
* The credential provider
|
|
171
|
+
* The configuration of the credential provider.
|
|
140
172
|
*/
|
|
141
173
|
credentialProviderConfig?: ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfig;
|
|
142
174
|
/**
|
|
143
175
|
* @remarks
|
|
144
176
|
* The creation type of the credential provider. Valid values:
|
|
145
177
|
*
|
|
146
|
-
* - system_init: Created by the system.
|
|
147
|
-
* - user_custom: Created by the user.
|
|
148
|
-
*
|
|
149
178
|
* @example
|
|
150
179
|
* user_custom
|
|
151
180
|
*/
|
|
@@ -160,7 +189,7 @@ export declare class ListCredentialProvidersResponseBodyCredentialProviders exte
|
|
|
160
189
|
credentialProviderId?: string;
|
|
161
190
|
/**
|
|
162
191
|
* @remarks
|
|
163
|
-
* The credential provider
|
|
192
|
+
* The business identifier of the credential provider.
|
|
164
193
|
*
|
|
165
194
|
* @example
|
|
166
195
|
* test_example_identifier
|
|
@@ -168,7 +197,7 @@ export declare class ListCredentialProvidersResponseBodyCredentialProviders exte
|
|
|
168
197
|
credentialProviderIdentifier?: string;
|
|
169
198
|
/**
|
|
170
199
|
* @remarks
|
|
171
|
-
* The credential provider
|
|
200
|
+
* The name of the credential provider.
|
|
172
201
|
*
|
|
173
202
|
* @example
|
|
174
203
|
* test_example_name
|
|
@@ -178,16 +207,13 @@ export declare class ListCredentialProvidersResponseBodyCredentialProviders exte
|
|
|
178
207
|
* @remarks
|
|
179
208
|
* The credential provider type. Valid values:
|
|
180
209
|
*
|
|
181
|
-
* - oauth: OAuth credential provider.
|
|
182
|
-
* - jwt: JWT credential provider.
|
|
183
|
-
*
|
|
184
210
|
* @example
|
|
185
211
|
* oauth
|
|
186
212
|
*/
|
|
187
213
|
credentialProviderType?: string;
|
|
188
214
|
/**
|
|
189
215
|
* @remarks
|
|
190
|
-
* The description.
|
|
216
|
+
* The description of the credential provider.
|
|
191
217
|
*
|
|
192
218
|
* @example
|
|
193
219
|
* This is an example description
|
|
@@ -205,16 +231,13 @@ export declare class ListCredentialProvidersResponseBodyCredentialProviders exte
|
|
|
205
231
|
* @remarks
|
|
206
232
|
* The credential provider status. Valid values:
|
|
207
233
|
*
|
|
208
|
-
* - enabled: Enabled.
|
|
209
|
-
* - disabled: Disabled.
|
|
210
|
-
*
|
|
211
234
|
* @example
|
|
212
235
|
* enabled
|
|
213
236
|
*/
|
|
214
237
|
status?: string;
|
|
215
238
|
/**
|
|
216
239
|
* @remarks
|
|
217
|
-
* The
|
|
240
|
+
* The time when the credential provider was last updated. The value is a UNIX timestamp in milliseconds.
|
|
218
241
|
*
|
|
219
242
|
* @example
|
|
220
243
|
* 1649830225000
|
|
@@ -247,7 +270,7 @@ export declare class ListCredentialProvidersResponseBody extends $dara.Model {
|
|
|
247
270
|
maxResults?: number;
|
|
248
271
|
/**
|
|
249
272
|
* @remarks
|
|
250
|
-
* The pagination token returned
|
|
273
|
+
* The pagination token returned in this call.
|
|
251
274
|
*
|
|
252
275
|
* @example
|
|
253
276
|
* NTxxxexample
|
|
@@ -71,15 +71,31 @@ exports.ListCredentialProvidersResponseBodyCredentialProvidersCredentialProvider
|
|
|
71
71
|
class ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
72
72
|
static names() {
|
|
73
73
|
return {
|
|
74
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
75
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
74
76
|
clientId: 'ClientId',
|
|
77
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
78
|
+
issuer: 'Issuer',
|
|
79
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
80
|
+
pkceEnabled: 'PkceEnabled',
|
|
81
|
+
providerVendor: 'ProviderVendor',
|
|
75
82
|
scope: 'Scope',
|
|
83
|
+
systemRedirectUri: 'SystemRedirectUri',
|
|
76
84
|
tokenEndpoint: 'TokenEndpoint',
|
|
77
85
|
};
|
|
78
86
|
}
|
|
79
87
|
static types() {
|
|
80
88
|
return {
|
|
89
|
+
authorizationEndpoint: 'string',
|
|
90
|
+
authorizationFlow: 'string',
|
|
81
91
|
clientId: 'string',
|
|
92
|
+
discoveryUrl: 'string',
|
|
93
|
+
issuer: 'string',
|
|
94
|
+
pkceChallengeMethod: 'string',
|
|
95
|
+
pkceEnabled: 'boolean',
|
|
96
|
+
providerVendor: 'string',
|
|
82
97
|
scope: 'string',
|
|
98
|
+
systemRedirectUri: 'string',
|
|
83
99
|
tokenEndpoint: 'string',
|
|
84
100
|
};
|
|
85
101
|
}
|