@alicloud/eiam20211201 2.13.2 → 2.14.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 +15 -0
- package/dist/client.js +48 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GenerateWebAuthnAuthenticatorRegistrationUrlRequest.d.ts +38 -0
- package/dist/models/GenerateWebAuthnAuthenticatorRegistrationUrlRequest.js +62 -0
- package/dist/models/GenerateWebAuthnAuthenticatorRegistrationUrlRequest.js.map +1 -0
- package/dist/models/GenerateWebAuthnAuthenticatorRegistrationUrlResponse.d.ts +19 -0
- package/dist/models/GenerateWebAuthnAuthenticatorRegistrationUrlResponse.js +69 -0
- package/dist/models/GenerateWebAuthnAuthenticatorRegistrationUrlResponse.js.map +1 -0
- package/dist/models/GenerateWebAuthnAuthenticatorRegistrationUrlResponseBody.d.ts +47 -0
- package/dist/models/GenerateWebAuthnAuthenticatorRegistrationUrlResponseBody.js +84 -0
- package/dist/models/GenerateWebAuthnAuthenticatorRegistrationUrlResponseBody.js.map +1 -0
- package/dist/models/ListCredentialsRequest.d.ts +1 -0
- package/dist/models/ListCredentialsRequest.js +5 -0
- package/dist/models/ListCredentialsRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +36 -28
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +54 -0
- package/src/models/GenerateWebAuthnAuthenticatorRegistrationUrlRequest.ts +55 -0
- package/src/models/GenerateWebAuthnAuthenticatorRegistrationUrlResponse.ts +40 -0
- package/src/models/GenerateWebAuthnAuthenticatorRegistrationUrlResponseBody.ts +77 -0
- package/src/models/ListCredentialsRequest.ts +6 -0
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -2051,6 +2051,21 @@ export default class Client extends OpenApi {
|
|
|
2051
2051
|
* @returns GenerateUploadAuthResponse
|
|
2052
2052
|
*/
|
|
2053
2053
|
generateUploadAuth(request: $_model.GenerateUploadAuthRequest): Promise<$_model.GenerateUploadAuthResponse>;
|
|
2054
|
+
/**
|
|
2055
|
+
* 生成WebAuthn认证器注册URL
|
|
2056
|
+
*
|
|
2057
|
+
* @param request - GenerateWebAuthnAuthenticatorRegistrationUrlRequest
|
|
2058
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2059
|
+
* @returns GenerateWebAuthnAuthenticatorRegistrationUrlResponse
|
|
2060
|
+
*/
|
|
2061
|
+
generateWebAuthnAuthenticatorRegistrationUrlWithOptions(request: $_model.GenerateWebAuthnAuthenticatorRegistrationUrlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateWebAuthnAuthenticatorRegistrationUrlResponse>;
|
|
2062
|
+
/**
|
|
2063
|
+
* 生成WebAuthn认证器注册URL
|
|
2064
|
+
*
|
|
2065
|
+
* @param request - GenerateWebAuthnAuthenticatorRegistrationUrlRequest
|
|
2066
|
+
* @returns GenerateWebAuthnAuthenticatorRegistrationUrlResponse
|
|
2067
|
+
*/
|
|
2068
|
+
generateWebAuthnAuthenticatorRegistrationUrl(request: $_model.GenerateWebAuthnAuthenticatorRegistrationUrlRequest): Promise<$_model.GenerateWebAuthnAuthenticatorRegistrationUrlResponse>;
|
|
2054
2069
|
/**
|
|
2055
2070
|
* Queries the details of an Employee Identity and Access Management (EIAM) application.
|
|
2056
2071
|
*
|
package/dist/client.js
CHANGED
|
@@ -6288,6 +6288,51 @@ class Client extends openapi_core_1.default {
|
|
|
6288
6288
|
let runtime = new $dara.RuntimeOptions({});
|
|
6289
6289
|
return await this.generateUploadAuthWithOptions(request, runtime);
|
|
6290
6290
|
}
|
|
6291
|
+
/**
|
|
6292
|
+
* 生成WebAuthn认证器注册URL
|
|
6293
|
+
*
|
|
6294
|
+
* @param request - GenerateWebAuthnAuthenticatorRegistrationUrlRequest
|
|
6295
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6296
|
+
* @returns GenerateWebAuthnAuthenticatorRegistrationUrlResponse
|
|
6297
|
+
*/
|
|
6298
|
+
async generateWebAuthnAuthenticatorRegistrationUrlWithOptions(request, runtime) {
|
|
6299
|
+
request.validate();
|
|
6300
|
+
let query = {};
|
|
6301
|
+
if (!$dara.isNull(request.domainId)) {
|
|
6302
|
+
query["DomainId"] = request.domainId;
|
|
6303
|
+
}
|
|
6304
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
6305
|
+
query["InstanceId"] = request.instanceId;
|
|
6306
|
+
}
|
|
6307
|
+
if (!$dara.isNull(request.userId)) {
|
|
6308
|
+
query["UserId"] = request.userId;
|
|
6309
|
+
}
|
|
6310
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6311
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6312
|
+
});
|
|
6313
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6314
|
+
action: "GenerateWebAuthnAuthenticatorRegistrationUrl",
|
|
6315
|
+
version: "2021-12-01",
|
|
6316
|
+
protocol: "HTTPS",
|
|
6317
|
+
pathname: "/",
|
|
6318
|
+
method: "POST",
|
|
6319
|
+
authType: "AK",
|
|
6320
|
+
style: "RPC",
|
|
6321
|
+
reqBodyType: "formData",
|
|
6322
|
+
bodyType: "json",
|
|
6323
|
+
});
|
|
6324
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateWebAuthnAuthenticatorRegistrationUrlResponse({}));
|
|
6325
|
+
}
|
|
6326
|
+
/**
|
|
6327
|
+
* 生成WebAuthn认证器注册URL
|
|
6328
|
+
*
|
|
6329
|
+
* @param request - GenerateWebAuthnAuthenticatorRegistrationUrlRequest
|
|
6330
|
+
* @returns GenerateWebAuthnAuthenticatorRegistrationUrlResponse
|
|
6331
|
+
*/
|
|
6332
|
+
async generateWebAuthnAuthenticatorRegistrationUrl(request) {
|
|
6333
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6334
|
+
return await this.generateWebAuthnAuthenticatorRegistrationUrlWithOptions(request, runtime);
|
|
6335
|
+
}
|
|
6291
6336
|
/**
|
|
6292
6337
|
* Queries the details of an Employee Identity and Access Management (EIAM) application.
|
|
6293
6338
|
*
|
|
@@ -9829,6 +9874,9 @@ class Client extends openapi_core_1.default {
|
|
|
9829
9874
|
if (!$dara.isNull(request.credentialIds)) {
|
|
9830
9875
|
query["CredentialIds"] = request.credentialIds;
|
|
9831
9876
|
}
|
|
9877
|
+
if (!$dara.isNull(request.credentialTypes)) {
|
|
9878
|
+
query["CredentialTypes"] = request.credentialTypes;
|
|
9879
|
+
}
|
|
9832
9880
|
if (!$dara.isNull(request.filter)) {
|
|
9833
9881
|
query["Filter"] = request.filter;
|
|
9834
9882
|
}
|