@alicloud/cloudauth20190307 3.9.5 → 3.10.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 +271 -10
- package/dist/client.js +390 -10
- package/dist/client.js.map +1 -1
- package/dist/models/ContrastFaceVerifyAdvanceRequest.d.ts +93 -0
- package/dist/models/ContrastFaceVerifyAdvanceRequest.js.map +1 -1
- package/dist/models/ContrastFaceVerifyRequest.d.ts +93 -0
- package/dist/models/ContrastFaceVerifyRequest.js.map +1 -1
- package/dist/models/ContrastFaceVerifyResponseBody.d.ts +32 -0
- package/dist/models/ContrastFaceVerifyResponseBody.js.map +1 -1
- package/dist/models/CreateAuthKeyRequest.d.ts +12 -0
- package/dist/models/CreateAuthKeyRequest.js.map +1 -1
- package/dist/models/CreateAuthKeyResponseBody.d.ts +6 -0
- package/dist/models/CreateAuthKeyResponseBody.js.map +1 -1
- package/dist/models/CreateVerifySettingRequest.d.ts +18 -0
- package/dist/models/CreateVerifySettingRequest.js.map +1 -1
- package/dist/models/CreateVerifySettingResponseBody.d.ts +20 -0
- package/dist/models/CreateVerifySettingResponseBody.js.map +1 -1
- package/dist/models/CredentialVerifyRequest.d.ts +132 -0
- package/dist/models/CredentialVerifyRequest.js.map +1 -1
- package/dist/models/CredentialVerifyResponseBody.d.ts +103 -0
- package/dist/models/CredentialVerifyResponseBody.js.map +1 -1
- package/dist/models/CredentialVerifyShrinkRequest.d.ts +116 -0
- package/dist/models/CredentialVerifyShrinkRequest.js.map +1 -1
- package/dist/models/DescribeCardVerifyRequest.d.ts +3 -0
- package/dist/models/DescribeCardVerifyRequest.js.map +1 -1
- package/dist/models/DescribeCardVerifyResponseBody.d.ts +52 -0
- package/dist/models/DescribeCardVerifyResponseBody.js.map +1 -1
- package/dist/models/DescribeDeviceInfoRequest.d.ts +21 -0
- package/dist/models/DescribeDeviceInfoRequest.js.map +1 -1
- package/dist/models/DescribeDeviceInfoResponseBody.d.ts +31 -0
- package/dist/models/DescribeDeviceInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeFaceGuardRiskRequest.d.ts +14 -0
- package/dist/models/DescribeFaceGuardRiskRequest.js.map +1 -1
- package/dist/models/DescribeFaceGuardRiskResponseBody.d.ts +32 -1
- package/dist/models/DescribeFaceGuardRiskResponseBody.js.map +1 -1
- package/dist/models/DescribeFaceVerifyRequest.d.ts +9 -0
- package/dist/models/DescribeFaceVerifyRequest.js.map +1 -1
- package/dist/models/DescribeFaceVerifyResponseBody.d.ts +59 -0
- package/dist/models/DescribeFaceVerifyResponseBody.js.map +1 -1
- package/dist/models/DescribeOssUploadTokenResponseBody.d.ts +28 -0
- package/dist/models/DescribeOssUploadTokenResponseBody.js.map +1 -1
- package/dist/models/DescribePageFaceVerifyDataRequest.d.ts +18 -0
- package/dist/models/DescribePageFaceVerifyDataRequest.js.map +1 -1
- package/dist/models/DescribePageFaceVerifyDataResponseBody.d.ts +50 -0
- package/dist/models/DescribePageFaceVerifyDataResponseBody.js.map +1 -1
- package/dist/models/DescribeSmartStatisticsPageListRequest.d.ts +13 -0
- package/dist/models/DescribeSmartStatisticsPageListRequest.js.map +1 -1
- package/dist/models/DescribeSmartStatisticsPageListResponseBody.d.ts +44 -0
- package/dist/models/DescribeSmartStatisticsPageListResponseBody.js.map +1 -1
- package/dist/models/DescribeVerifyResultRequest.d.ts +4 -0
- package/dist/models/DescribeVerifyResultRequest.js.map +1 -1
- package/dist/models/DescribeVerifyResultResponseBody.d.ts +125 -0
- package/dist/models/DescribeVerifyResultResponseBody.js.map +1 -1
- package/dist/models/DescribeVerifySdkrequest.d.ts +2 -0
- package/dist/models/DescribeVerifySdkrequest.js.map +1 -1
- package/dist/models/DescribeVerifySdkresponseBody.d.ts +6 -0
- package/dist/models/DescribeVerifySdkresponseBody.js.map +1 -1
- package/dist/models/DescribeVerifyTokenRequest.d.ts +49 -0
- package/dist/models/DescribeVerifyTokenRequest.js.map +1 -1
- package/dist/models/DescribeVerifyTokenResponseBody.d.ts +34 -0
- package/dist/models/DescribeVerifyTokenResponseBody.js.map +1 -1
- package/dist/models/DetectFaceAttributesRequest.d.ts +5 -0
- package/dist/models/DetectFaceAttributesRequest.js.map +1 -1
- package/dist/models/DetectFaceAttributesResponseBody.d.ts +100 -0
- package/dist/models/DetectFaceAttributesResponseBody.js.map +1 -1
- package/dist/models/Id3metaVerifyAdvanceRequest.d.ts +87 -0
- package/dist/models/Id3metaVerifyAdvanceRequest.js +67 -0
- package/dist/models/Id3metaVerifyAdvanceRequest.js.map +1 -0
- package/dist/models/Id3metaVerifyRequest.d.ts +86 -0
- package/dist/models/Id3metaVerifyRequest.js +68 -0
- package/dist/models/Id3metaVerifyRequest.js.map +1 -0
- package/dist/models/Id3metaVerifyResponse.d.ts +19 -0
- package/dist/models/Id3metaVerifyResponse.js +69 -0
- package/dist/models/Id3metaVerifyResponse.js.map +1 -0
- package/dist/models/Id3metaVerifyResponseBody.d.ts +83 -0
- package/dist/models/Id3metaVerifyResponseBody.js +88 -0
- package/dist/models/Id3metaVerifyResponseBody.js.map +1 -0
- package/dist/models/InitFaceVerifyRequest.d.ts +347 -0
- package/dist/models/InitFaceVerifyRequest.js.map +1 -1
- package/dist/models/InitFaceVerifyResponseBody.d.ts +32 -0
- package/dist/models/InitFaceVerifyResponseBody.js.map +1 -1
- package/dist/models/LivenessFaceVerifyRequest.d.ts +46 -0
- package/dist/models/LivenessFaceVerifyRequest.js.map +1 -1
- package/dist/models/LivenessFaceVerifyResponseBody.d.ts +29 -0
- package/dist/models/LivenessFaceVerifyResponseBody.js.map +1 -1
- package/dist/models/VerifyMaterialRequest.d.ts +24 -0
- package/dist/models/VerifyMaterialRequest.js.map +1 -1
- package/dist/models/VerifyMaterialResponseBody.d.ts +118 -0
- package/dist/models/VerifyMaterialResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +15 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +403 -10
- package/src/models/ContrastFaceVerifyAdvanceRequest.ts +93 -0
- package/src/models/ContrastFaceVerifyRequest.ts +93 -0
- package/src/models/ContrastFaceVerifyResponseBody.ts +32 -0
- package/src/models/CreateAuthKeyRequest.ts +12 -0
- package/src/models/CreateAuthKeyResponseBody.ts +6 -0
- package/src/models/CreateVerifySettingRequest.ts +18 -0
- package/src/models/CreateVerifySettingResponseBody.ts +20 -0
- package/src/models/CredentialVerifyRequest.ts +132 -0
- package/src/models/CredentialVerifyResponseBody.ts +103 -0
- package/src/models/CredentialVerifyShrinkRequest.ts +116 -0
- package/src/models/DescribeCardVerifyRequest.ts +3 -0
- package/src/models/DescribeCardVerifyResponseBody.ts +52 -0
- package/src/models/DescribeDeviceInfoRequest.ts +21 -0
- package/src/models/DescribeDeviceInfoResponseBody.ts +31 -0
- package/src/models/DescribeFaceGuardRiskRequest.ts +14 -0
- package/src/models/DescribeFaceGuardRiskResponseBody.ts +32 -1
- package/src/models/DescribeFaceVerifyRequest.ts +9 -0
- package/src/models/DescribeFaceVerifyResponseBody.ts +59 -0
- package/src/models/DescribeOssUploadTokenResponseBody.ts +28 -0
- package/src/models/DescribePageFaceVerifyDataRequest.ts +18 -0
- package/src/models/DescribePageFaceVerifyDataResponseBody.ts +50 -0
- package/src/models/DescribeSmartStatisticsPageListRequest.ts +13 -0
- package/src/models/DescribeSmartStatisticsPageListResponseBody.ts +44 -0
- package/src/models/DescribeVerifyResultRequest.ts +4 -0
- package/src/models/DescribeVerifyResultResponseBody.ts +125 -0
- package/src/models/DescribeVerifySdkrequest.ts +2 -0
- package/src/models/DescribeVerifySdkresponseBody.ts +6 -0
- package/src/models/DescribeVerifyTokenRequest.ts +49 -0
- package/src/models/DescribeVerifyTokenResponseBody.ts +34 -0
- package/src/models/DetectFaceAttributesRequest.ts +5 -0
- package/src/models/DetectFaceAttributesResponseBody.ts +100 -0
- package/src/models/Id3metaVerifyAdvanceRequest.ts +110 -0
- package/src/models/Id3metaVerifyRequest.ts +109 -0
- package/src/models/Id3metaVerifyResponse.ts +40 -0
- package/src/models/Id3metaVerifyResponseBody.ts +117 -0
- package/src/models/InitFaceVerifyRequest.ts +347 -0
- package/src/models/InitFaceVerifyResponseBody.ts +32 -0
- package/src/models/LivenessFaceVerifyRequest.ts +46 -0
- package/src/models/LivenessFaceVerifyResponseBody.ts +29 -0
- package/src/models/VerifyMaterialRequest.ts +24 -0
- package/src/models/VerifyMaterialResponseBody.ts +118 -0
- package/src/models/model.ts +5 -0
package/dist/client.d.ts
CHANGED
|
@@ -146,35 +146,87 @@ export default class Client extends OpenApi {
|
|
|
146
146
|
*/
|
|
147
147
|
compareFaces(request: $_model.CompareFacesRequest): Promise<$_model.CompareFacesResponse>;
|
|
148
148
|
/**
|
|
149
|
+
* This interface is used to submit authentication materials for verification and comparison, and it synchronously returns the authentication result.
|
|
150
|
+
*
|
|
151
|
+
* @remarks
|
|
152
|
+
* - Interface Name: ContrastFaceVerify.
|
|
153
|
+
* - Service Address: cloudauth.aliyuncs.com.
|
|
154
|
+
* - Request Method: HTTPS POST and GET.
|
|
155
|
+
* - Interface Description: An interface for real person authentication through server-side integration.
|
|
156
|
+
* #### Image Format Requirements
|
|
157
|
+
* When performing real person authentication, please ensure that the images you upload meet all of the following conditions:
|
|
158
|
+
* - Recent photo with a clear, unobstructed, and natural expression, facing the camera directly.
|
|
159
|
+
* - Clear and properly exposed photo, without overly dark, bright, or haloed faces, and with minimal angle deviation.
|
|
160
|
+
* - Resolution not exceeding 1920*1080, at least 640*480, with the shorter side recommended to be resized to 720 pixels, and a compression ratio greater than 0.9.
|
|
161
|
+
* - Photo size: <1MB.
|
|
162
|
+
* - Supports 90, 180, and 270-degree photos; in cases of multiple faces, the largest face will be selected.
|
|
163
|
+
*
|
|
149
164
|
* @param request - ContrastFaceVerifyRequest
|
|
150
165
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
151
166
|
* @returns ContrastFaceVerifyResponse
|
|
152
167
|
*/
|
|
153
168
|
contrastFaceVerifyWithOptions(request: $_model.ContrastFaceVerifyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ContrastFaceVerifyResponse>;
|
|
154
169
|
/**
|
|
170
|
+
* This interface is used to submit authentication materials for verification and comparison, and it synchronously returns the authentication result.
|
|
171
|
+
*
|
|
172
|
+
* @remarks
|
|
173
|
+
* - Interface Name: ContrastFaceVerify.
|
|
174
|
+
* - Service Address: cloudauth.aliyuncs.com.
|
|
175
|
+
* - Request Method: HTTPS POST and GET.
|
|
176
|
+
* - Interface Description: An interface for real person authentication through server-side integration.
|
|
177
|
+
* #### Image Format Requirements
|
|
178
|
+
* When performing real person authentication, please ensure that the images you upload meet all of the following conditions:
|
|
179
|
+
* - Recent photo with a clear, unobstructed, and natural expression, facing the camera directly.
|
|
180
|
+
* - Clear and properly exposed photo, without overly dark, bright, or haloed faces, and with minimal angle deviation.
|
|
181
|
+
* - Resolution not exceeding 1920*1080, at least 640*480, with the shorter side recommended to be resized to 720 pixels, and a compression ratio greater than 0.9.
|
|
182
|
+
* - Photo size: <1MB.
|
|
183
|
+
* - Supports 90, 180, and 270-degree photos; in cases of multiple faces, the largest face will be selected.
|
|
184
|
+
*
|
|
155
185
|
* @param request - ContrastFaceVerifyRequest
|
|
156
186
|
* @returns ContrastFaceVerifyResponse
|
|
157
187
|
*/
|
|
158
188
|
contrastFaceVerify(request: $_model.ContrastFaceVerifyRequest): Promise<$_model.ContrastFaceVerifyResponse>;
|
|
159
189
|
contrastFaceVerifyAdvance(request: $_model.ContrastFaceVerifyAdvanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ContrastFaceVerifyResponse>;
|
|
160
190
|
/**
|
|
191
|
+
* Call CreateAuthKey to get the authorization key, which is used for offline face recognition SDK activation.
|
|
192
|
+
*
|
|
193
|
+
* @remarks
|
|
194
|
+
* Request Method: Supports sending requests via HTTPS POST and GET methods.
|
|
195
|
+
* > The authorization key is valid for 30 minutes and cannot be reused. It is recommended to re-obtain it before each activation.
|
|
196
|
+
*
|
|
161
197
|
* @param request - CreateAuthKeyRequest
|
|
162
198
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
163
199
|
* @returns CreateAuthKeyResponse
|
|
164
200
|
*/
|
|
165
201
|
createAuthKeyWithOptions(request: $_model.CreateAuthKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAuthKeyResponse>;
|
|
166
202
|
/**
|
|
203
|
+
* Call CreateAuthKey to get the authorization key, which is used for offline face recognition SDK activation.
|
|
204
|
+
*
|
|
205
|
+
* @remarks
|
|
206
|
+
* Request Method: Supports sending requests via HTTPS POST and GET methods.
|
|
207
|
+
* > The authorization key is valid for 30 minutes and cannot be reused. It is recommended to re-obtain it before each activation.
|
|
208
|
+
*
|
|
167
209
|
* @param request - CreateAuthKeyRequest
|
|
168
210
|
* @returns CreateAuthKeyResponse
|
|
169
211
|
*/
|
|
170
212
|
createAuthKey(request: $_model.CreateAuthKeyRequest): Promise<$_model.CreateAuthKeyResponse>;
|
|
171
213
|
/**
|
|
214
|
+
* Call CreateVerifySetting to create a verification scenario configuration. This operation is equivalent to creating a new verification scenario on the console.
|
|
215
|
+
*
|
|
216
|
+
* @remarks
|
|
217
|
+
* Request Method: Only supports sending requests via HTTPS POST.
|
|
218
|
+
*
|
|
172
219
|
* @param request - CreateVerifySettingRequest
|
|
173
220
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
174
221
|
* @returns CreateVerifySettingResponse
|
|
175
222
|
*/
|
|
176
223
|
createVerifySettingWithOptions(request: $_model.CreateVerifySettingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateVerifySettingResponse>;
|
|
177
224
|
/**
|
|
225
|
+
* Call CreateVerifySetting to create a verification scenario configuration. This operation is equivalent to creating a new verification scenario on the console.
|
|
226
|
+
*
|
|
227
|
+
* @remarks
|
|
228
|
+
* Request Method: Only supports sending requests via HTTPS POST.
|
|
229
|
+
*
|
|
178
230
|
* @param request - CreateVerifySettingRequest
|
|
179
231
|
* @returns CreateVerifySettingResponse
|
|
180
232
|
*/
|
|
@@ -202,7 +254,7 @@ export default class Client extends OpenApi {
|
|
|
202
254
|
credentialProductVerifyV2(request: $_model.CredentialProductVerifyV2Request): Promise<$_model.CredentialProductVerifyV2Response>;
|
|
203
255
|
credentialProductVerifyV2Advance(request: $_model.CredentialProductVerifyV2AdvanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CredentialProductVerifyV2Response>;
|
|
204
256
|
/**
|
|
205
|
-
*
|
|
257
|
+
* Credential verification
|
|
206
258
|
*
|
|
207
259
|
* @param tmpReq - CredentialVerifyRequest
|
|
208
260
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -210,7 +262,7 @@ export default class Client extends OpenApi {
|
|
|
210
262
|
*/
|
|
211
263
|
credentialVerifyWithOptions(tmpReq: $_model.CredentialVerifyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CredentialVerifyResponse>;
|
|
212
264
|
/**
|
|
213
|
-
*
|
|
265
|
+
* Credential verification
|
|
214
266
|
*
|
|
215
267
|
* @param request - CredentialVerifyRequest
|
|
216
268
|
* @returns CredentialVerifyResponse
|
|
@@ -287,7 +339,10 @@ export default class Client extends OpenApi {
|
|
|
287
339
|
*/
|
|
288
340
|
deleteFaceVerifyResult(request: $_model.DeleteFaceVerifyResultRequest): Promise<$_model.DeleteFaceVerifyResultResponse>;
|
|
289
341
|
/**
|
|
290
|
-
*
|
|
342
|
+
* Obtain Authentication Results from Image Element Verification
|
|
343
|
+
*
|
|
344
|
+
* @remarks
|
|
345
|
+
* After receiving the callback notification, you can use this interface on the server side to obtain the corresponding authentication status and information.
|
|
291
346
|
*
|
|
292
347
|
* @param request - DescribeCardVerifyRequest
|
|
293
348
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -295,25 +350,38 @@ export default class Client extends OpenApi {
|
|
|
295
350
|
*/
|
|
296
351
|
describeCardVerifyWithOptions(request: $_model.DescribeCardVerifyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCardVerifyResponse>;
|
|
297
352
|
/**
|
|
298
|
-
*
|
|
353
|
+
* Obtain Authentication Results from Image Element Verification
|
|
354
|
+
*
|
|
355
|
+
* @remarks
|
|
356
|
+
* After receiving the callback notification, you can use this interface on the server side to obtain the corresponding authentication status and information.
|
|
299
357
|
*
|
|
300
358
|
* @param request - DescribeCardVerifyRequest
|
|
301
359
|
* @returns DescribeCardVerifyResponse
|
|
302
360
|
*/
|
|
303
361
|
describeCardVerify(request: $_model.DescribeCardVerifyRequest): Promise<$_model.DescribeCardVerifyResponse>;
|
|
304
362
|
/**
|
|
363
|
+
* Call DescribeDeviceInfo to query device-related information, such as the validity period of authorization, business identifiers customized by the access party, and device ID, etc.
|
|
364
|
+
*
|
|
365
|
+
* @remarks
|
|
366
|
+
* Request Method: Supports sending requests using HTTPS POST and GET methods.
|
|
367
|
+
*
|
|
305
368
|
* @param request - DescribeDeviceInfoRequest
|
|
306
369
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
307
370
|
* @returns DescribeDeviceInfoResponse
|
|
308
371
|
*/
|
|
309
372
|
describeDeviceInfoWithOptions(request: $_model.DescribeDeviceInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDeviceInfoResponse>;
|
|
310
373
|
/**
|
|
374
|
+
* Call DescribeDeviceInfo to query device-related information, such as the validity period of authorization, business identifiers customized by the access party, and device ID, etc.
|
|
375
|
+
*
|
|
376
|
+
* @remarks
|
|
377
|
+
* Request Method: Supports sending requests using HTTPS POST and GET methods.
|
|
378
|
+
*
|
|
311
379
|
* @param request - DescribeDeviceInfoRequest
|
|
312
380
|
* @returns DescribeDeviceInfoResponse
|
|
313
381
|
*/
|
|
314
382
|
describeDeviceInfo(request: $_model.DescribeDeviceInfoRequest): Promise<$_model.DescribeDeviceInfoResponse>;
|
|
315
383
|
/**
|
|
316
|
-
*
|
|
384
|
+
* Financial-Grade Face Guard Service
|
|
317
385
|
*
|
|
318
386
|
* @param request - DescribeFaceGuardRiskRequest
|
|
319
387
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -321,35 +389,50 @@ export default class Client extends OpenApi {
|
|
|
321
389
|
*/
|
|
322
390
|
describeFaceGuardRiskWithOptions(request: $_model.DescribeFaceGuardRiskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeFaceGuardRiskResponse>;
|
|
323
391
|
/**
|
|
324
|
-
*
|
|
392
|
+
* Financial-Grade Face Guard Service
|
|
325
393
|
*
|
|
326
394
|
* @param request - DescribeFaceGuardRiskRequest
|
|
327
395
|
* @returns DescribeFaceGuardRiskResponse
|
|
328
396
|
*/
|
|
329
397
|
describeFaceGuardRisk(request: $_model.DescribeFaceGuardRiskRequest): Promise<$_model.DescribeFaceGuardRiskResponse>;
|
|
330
398
|
/**
|
|
399
|
+
* After the mobile end of the integrator receives the callback, its server can call this interface to obtain the corresponding authentication status and authentication information.
|
|
400
|
+
*
|
|
401
|
+
* @remarks
|
|
402
|
+
* - Service Address: cloudauth.aliyuncs.com.
|
|
403
|
+
* - Request Method: HTTPS POST and GET.
|
|
404
|
+
*
|
|
331
405
|
* @param request - DescribeFaceVerifyRequest
|
|
332
406
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
333
407
|
* @returns DescribeFaceVerifyResponse
|
|
334
408
|
*/
|
|
335
409
|
describeFaceVerifyWithOptions(request: $_model.DescribeFaceVerifyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeFaceVerifyResponse>;
|
|
336
410
|
/**
|
|
411
|
+
* After the mobile end of the integrator receives the callback, its server can call this interface to obtain the corresponding authentication status and authentication information.
|
|
412
|
+
*
|
|
413
|
+
* @remarks
|
|
414
|
+
* - Service Address: cloudauth.aliyuncs.com.
|
|
415
|
+
* - Request Method: HTTPS POST and GET.
|
|
416
|
+
*
|
|
337
417
|
* @param request - DescribeFaceVerifyRequest
|
|
338
418
|
* @returns DescribeFaceVerifyResponse
|
|
339
419
|
*/
|
|
340
420
|
describeFaceVerify(request: $_model.DescribeFaceVerifyRequest): Promise<$_model.DescribeFaceVerifyResponse>;
|
|
341
421
|
/**
|
|
422
|
+
* Call DescribeOssUploadToken to get the Token required for uploading photos to OSS.
|
|
423
|
+
*
|
|
342
424
|
* @param request - DescribeOssUploadTokenRequest
|
|
343
425
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
344
426
|
* @returns DescribeOssUploadTokenResponse
|
|
345
427
|
*/
|
|
346
428
|
describeOssUploadTokenWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.DescribeOssUploadTokenResponse>;
|
|
347
429
|
/**
|
|
430
|
+
* Call DescribeOssUploadToken to get the Token required for uploading photos to OSS.
|
|
348
431
|
* @returns DescribeOssUploadTokenResponse
|
|
349
432
|
*/
|
|
350
433
|
describeOssUploadToken(): Promise<$_model.DescribeOssUploadTokenResponse>;
|
|
351
434
|
/**
|
|
352
|
-
* Open API
|
|
435
|
+
* Open API adds financial-grade data statistics API
|
|
353
436
|
*
|
|
354
437
|
* @param request - DescribePageFaceVerifyDataRequest
|
|
355
438
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -357,63 +440,153 @@ export default class Client extends OpenApi {
|
|
|
357
440
|
*/
|
|
358
441
|
describePageFaceVerifyDataWithOptions(request: $_model.DescribePageFaceVerifyDataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePageFaceVerifyDataResponse>;
|
|
359
442
|
/**
|
|
360
|
-
* Open API
|
|
443
|
+
* Open API adds financial-grade data statistics API
|
|
361
444
|
*
|
|
362
445
|
* @param request - DescribePageFaceVerifyDataRequest
|
|
363
446
|
* @returns DescribePageFaceVerifyDataResponse
|
|
364
447
|
*/
|
|
365
448
|
describePageFaceVerifyData(request: $_model.DescribePageFaceVerifyDataRequest): Promise<$_model.DescribePageFaceVerifyDataResponse>;
|
|
366
449
|
/**
|
|
450
|
+
* Enhanced Real Person Authentication Call Statistics Pagination Query Interface
|
|
451
|
+
*
|
|
367
452
|
* @param request - DescribeSmartStatisticsPageListRequest
|
|
368
453
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
369
454
|
* @returns DescribeSmartStatisticsPageListResponse
|
|
370
455
|
*/
|
|
371
456
|
describeSmartStatisticsPageListWithOptions(request: $_model.DescribeSmartStatisticsPageListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSmartStatisticsPageListResponse>;
|
|
372
457
|
/**
|
|
458
|
+
* Enhanced Real Person Authentication Call Statistics Pagination Query Interface
|
|
459
|
+
*
|
|
373
460
|
* @param request - DescribeSmartStatisticsPageListRequest
|
|
374
461
|
* @returns DescribeSmartStatisticsPageListResponse
|
|
375
462
|
*/
|
|
376
463
|
describeSmartStatisticsPageList(request: $_model.DescribeSmartStatisticsPageListRequest): Promise<$_model.DescribeSmartStatisticsPageListResponse>;
|
|
377
464
|
/**
|
|
465
|
+
* Query the result of real-person authentication.
|
|
466
|
+
*
|
|
467
|
+
* @remarks
|
|
468
|
+
* Prerequisites: Before accessing this API, please ensure that you have completed the necessary preparations. For more details, see [Real Person Authentication Server-side Preparation](https://help.aliyun.com/document_detail/127471.html) and [Liveness Face Verification Server-side Preparation](https://help.aliyun.com/document_detail/127717.html).
|
|
469
|
+
* > Alibaba Cloud Real Person Authentication only stores authentication data for the last 180 days. For any subsequent business use, please call this interface in a timely manner to retrieve and store the data yourself to avoid any impact on usage.
|
|
470
|
+
* Request Method: HTTPS POST and GET.
|
|
471
|
+
* Interface Description: After the mobile end of the access party receives the callback, its server can call this interface to obtain the corresponding authentication status and authentication information.
|
|
472
|
+
* Applicable Scope: This interface is applicable to the authentication solution with SDK + server-side integration.
|
|
473
|
+
*
|
|
378
474
|
* @param request - DescribeVerifyResultRequest
|
|
379
475
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
380
476
|
* @returns DescribeVerifyResultResponse
|
|
381
477
|
*/
|
|
382
478
|
describeVerifyResultWithOptions(request: $_model.DescribeVerifyResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVerifyResultResponse>;
|
|
383
479
|
/**
|
|
480
|
+
* Query the result of real-person authentication.
|
|
481
|
+
*
|
|
482
|
+
* @remarks
|
|
483
|
+
* Prerequisites: Before accessing this API, please ensure that you have completed the necessary preparations. For more details, see [Real Person Authentication Server-side Preparation](https://help.aliyun.com/document_detail/127471.html) and [Liveness Face Verification Server-side Preparation](https://help.aliyun.com/document_detail/127717.html).
|
|
484
|
+
* > Alibaba Cloud Real Person Authentication only stores authentication data for the last 180 days. For any subsequent business use, please call this interface in a timely manner to retrieve and store the data yourself to avoid any impact on usage.
|
|
485
|
+
* Request Method: HTTPS POST and GET.
|
|
486
|
+
* Interface Description: After the mobile end of the access party receives the callback, its server can call this interface to obtain the corresponding authentication status and authentication information.
|
|
487
|
+
* Applicable Scope: This interface is applicable to the authentication solution with SDK + server-side integration.
|
|
488
|
+
*
|
|
384
489
|
* @param request - DescribeVerifyResultRequest
|
|
385
490
|
* @returns DescribeVerifyResultResponse
|
|
386
491
|
*/
|
|
387
492
|
describeVerifyResult(request: $_model.DescribeVerifyResultRequest): Promise<$_model.DescribeVerifyResultResponse>;
|
|
388
493
|
/**
|
|
494
|
+
* Call DescribeVerifySDK to get the offline SDK download address.
|
|
495
|
+
*
|
|
496
|
+
* @remarks
|
|
497
|
+
* Request Method: Supports sending requests via HTTPS POST and GET methods.
|
|
498
|
+
* Interface Description: Obtain the SDK generation result based on the task ID for generating an offline facial recognition SDK.
|
|
499
|
+
*
|
|
389
500
|
* @param request - DescribeVerifySDKRequest
|
|
390
501
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
391
502
|
* @returns DescribeVerifySDKResponse
|
|
392
503
|
*/
|
|
393
504
|
describeVerifySDKWithOptions(request: $_model.DescribeVerifySDKRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVerifySDKResponse>;
|
|
394
505
|
/**
|
|
506
|
+
* Call DescribeVerifySDK to get the offline SDK download address.
|
|
507
|
+
*
|
|
508
|
+
* @remarks
|
|
509
|
+
* Request Method: Supports sending requests via HTTPS POST and GET methods.
|
|
510
|
+
* Interface Description: Obtain the SDK generation result based on the task ID for generating an offline facial recognition SDK.
|
|
511
|
+
*
|
|
395
512
|
* @param request - DescribeVerifySDKRequest
|
|
396
513
|
* @returns DescribeVerifySDKResponse
|
|
397
514
|
*/
|
|
398
515
|
describeVerifySDK(request: $_model.DescribeVerifySDKRequest): Promise<$_model.DescribeVerifySDKResponse>;
|
|
399
516
|
/**
|
|
517
|
+
* Call DescribeVerifyToken to initiate an authentication request and obtain an authentication Token. This interface is suitable for authentication solutions using SDK + server-side integration.
|
|
518
|
+
*
|
|
519
|
+
* @remarks
|
|
520
|
+
* Preparation for Access: When integrating this API, please ensure that the corresponding preparations have been completed. For details, see [Overview of Real Person Authentication Solution Integration Process](https://help.aliyun.com/document_detail/127536.html) and [Overview of Live Face Verification Solution (Liveness Detection Solution) Integration Process](https://help.aliyun.com/document_detail/127687.html).
|
|
521
|
+
* Request Method: HTTPS POST and GET
|
|
522
|
+
* API Description: Before each authentication, use this interface to obtain an authentication Token (VerifyToken), which is used to link various interfaces in the authentication request.
|
|
523
|
+
* Applicable Scope: This interface is suitable for wireless SDK integration.
|
|
524
|
+
* Image Address: Use HTTP or HTTPS addresses that are publicly accessible over the Internet. For example, `http://image-demo.img-cn-hangzhou.aliyuncs.com/example.jpg`.
|
|
525
|
+
* Image Restrictions:
|
|
526
|
+
* - Relative or absolute paths of local images are not supported.
|
|
527
|
+
* - The size of a single image should be controlled within 2 MB to avoid algorithm retrieval timeout.
|
|
528
|
+
* - The face area in the image must be at least 64*64 pixels (px).
|
|
529
|
+
* - There is an 8 MB size limit for the Body of a single request. Please calculate the total size of all images and other information in the request to ensure it does not exceed the limit.
|
|
530
|
+
*
|
|
400
531
|
* @param request - DescribeVerifyTokenRequest
|
|
401
532
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
402
533
|
* @returns DescribeVerifyTokenResponse
|
|
403
534
|
*/
|
|
404
535
|
describeVerifyTokenWithOptions(request: $_model.DescribeVerifyTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVerifyTokenResponse>;
|
|
405
536
|
/**
|
|
537
|
+
* Call DescribeVerifyToken to initiate an authentication request and obtain an authentication Token. This interface is suitable for authentication solutions using SDK + server-side integration.
|
|
538
|
+
*
|
|
539
|
+
* @remarks
|
|
540
|
+
* Preparation for Access: When integrating this API, please ensure that the corresponding preparations have been completed. For details, see [Overview of Real Person Authentication Solution Integration Process](https://help.aliyun.com/document_detail/127536.html) and [Overview of Live Face Verification Solution (Liveness Detection Solution) Integration Process](https://help.aliyun.com/document_detail/127687.html).
|
|
541
|
+
* Request Method: HTTPS POST and GET
|
|
542
|
+
* API Description: Before each authentication, use this interface to obtain an authentication Token (VerifyToken), which is used to link various interfaces in the authentication request.
|
|
543
|
+
* Applicable Scope: This interface is suitable for wireless SDK integration.
|
|
544
|
+
* Image Address: Use HTTP or HTTPS addresses that are publicly accessible over the Internet. For example, `http://image-demo.img-cn-hangzhou.aliyuncs.com/example.jpg`.
|
|
545
|
+
* Image Restrictions:
|
|
546
|
+
* - Relative or absolute paths of local images are not supported.
|
|
547
|
+
* - The size of a single image should be controlled within 2 MB to avoid algorithm retrieval timeout.
|
|
548
|
+
* - The face area in the image must be at least 64*64 pixels (px).
|
|
549
|
+
* - There is an 8 MB size limit for the Body of a single request. Please calculate the total size of all images and other information in the request to ensure it does not exceed the limit.
|
|
550
|
+
*
|
|
406
551
|
* @param request - DescribeVerifyTokenRequest
|
|
407
552
|
* @returns DescribeVerifyTokenResponse
|
|
408
553
|
*/
|
|
409
554
|
describeVerifyToken(request: $_model.DescribeVerifyTokenRequest): Promise<$_model.DescribeVerifyTokenResponse>;
|
|
410
555
|
/**
|
|
556
|
+
* Detect Validity Attributes in Face Photos
|
|
557
|
+
*
|
|
558
|
+
* @remarks
|
|
559
|
+
* Request Method: Only supports sending requests via HTTPS POST.
|
|
560
|
+
* Interface Description: Detects the validity-related attributes of faces in the input photo, which helps the business side to determine whether the photo meets their own business retention or comparison requirements. The currently supported face validity-related attributes include: whether it is a face, whether it is blurry, whether glasses are worn, face pose, whether it is a smile, etc.
|
|
561
|
+
* Instructions for Uploading Image Addresses: When passing in images, you need to upload their corresponding HTTP, OSS addresses, or Base64 encoding.
|
|
562
|
+
* - HTTP Address: A publicly accessible HTTP address. For example, `http://image-demo.img-cn-hangzhou.aliyuncs.com/example.jpg`.
|
|
563
|
+
* - Base64 Encoding: An image encoded through base64, with the format being `base64://<image base64 string>`.
|
|
564
|
+
* Image Limitations:
|
|
565
|
+
* - Does not support relative or absolute paths of local images.
|
|
566
|
+
* - Please keep the size of a single image within 2 MB to avoid algorithm timeout.
|
|
567
|
+
* - There is an 8 MB size limit for the Body of a single request; please calculate the total size of all images and other information in the request and do not exceed the limit.
|
|
568
|
+
* - When using Base64 to pass images, the request method needs to be changed to POST; the header description of the image Base64 string, such as `data:image/png;base64`, should be removed.
|
|
569
|
+
*
|
|
411
570
|
* @param request - DetectFaceAttributesRequest
|
|
412
571
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
413
572
|
* @returns DetectFaceAttributesResponse
|
|
414
573
|
*/
|
|
415
574
|
detectFaceAttributesWithOptions(request: $_model.DetectFaceAttributesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DetectFaceAttributesResponse>;
|
|
416
575
|
/**
|
|
576
|
+
* Detect Validity Attributes in Face Photos
|
|
577
|
+
*
|
|
578
|
+
* @remarks
|
|
579
|
+
* Request Method: Only supports sending requests via HTTPS POST.
|
|
580
|
+
* Interface Description: Detects the validity-related attributes of faces in the input photo, which helps the business side to determine whether the photo meets their own business retention or comparison requirements. The currently supported face validity-related attributes include: whether it is a face, whether it is blurry, whether glasses are worn, face pose, whether it is a smile, etc.
|
|
581
|
+
* Instructions for Uploading Image Addresses: When passing in images, you need to upload their corresponding HTTP, OSS addresses, or Base64 encoding.
|
|
582
|
+
* - HTTP Address: A publicly accessible HTTP address. For example, `http://image-demo.img-cn-hangzhou.aliyuncs.com/example.jpg`.
|
|
583
|
+
* - Base64 Encoding: An image encoded through base64, with the format being `base64://<image base64 string>`.
|
|
584
|
+
* Image Limitations:
|
|
585
|
+
* - Does not support relative or absolute paths of local images.
|
|
586
|
+
* - Please keep the size of a single image within 2 MB to avoid algorithm timeout.
|
|
587
|
+
* - There is an 8 MB size limit for the Body of a single request; please calculate the total size of all images and other information in the request and do not exceed the limit.
|
|
588
|
+
* - When using Base64 to pass images, the request method needs to be changed to POST; the header description of the image Base64 string, such as `data:image/png;base64`, should be removed.
|
|
589
|
+
*
|
|
417
590
|
* @param request - DetectFaceAttributesRequest
|
|
418
591
|
* @returns DetectFaceAttributesResponse
|
|
419
592
|
*/
|
|
@@ -495,6 +668,28 @@ export default class Client extends OpenApi {
|
|
|
495
668
|
*/
|
|
496
669
|
id2MetaVerifyWithOCR(request: $_model.Id2MetaVerifyWithOCRRequest): Promise<$_model.Id2MetaVerifyWithOCRResponse>;
|
|
497
670
|
id2MetaVerifyWithOCRAdvance(request: $_model.Id2MetaVerifyWithOCRAdvanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.Id2MetaVerifyWithOCRResponse>;
|
|
671
|
+
/**
|
|
672
|
+
* Identity Three Elements Verification
|
|
673
|
+
*
|
|
674
|
+
* @remarks
|
|
675
|
+
* Input name, ID number, and face photo to verify their authenticity and consistency through authoritative sources.
|
|
676
|
+
*
|
|
677
|
+
* @param request - Id3MetaVerifyRequest
|
|
678
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
679
|
+
* @returns Id3MetaVerifyResponse
|
|
680
|
+
*/
|
|
681
|
+
id3MetaVerifyWithOptions(request: $_model.Id3MetaVerifyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.Id3MetaVerifyResponse>;
|
|
682
|
+
/**
|
|
683
|
+
* Identity Three Elements Verification
|
|
684
|
+
*
|
|
685
|
+
* @remarks
|
|
686
|
+
* Input name, ID number, and face photo to verify their authenticity and consistency through authoritative sources.
|
|
687
|
+
*
|
|
688
|
+
* @param request - Id3MetaVerifyRequest
|
|
689
|
+
* @returns Id3MetaVerifyResponse
|
|
690
|
+
*/
|
|
691
|
+
id3MetaVerify(request: $_model.Id3MetaVerifyRequest): Promise<$_model.Id3MetaVerifyResponse>;
|
|
692
|
+
id3MetaVerifyAdvance(request: $_model.Id3MetaVerifyAdvanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.Id3MetaVerifyResponse>;
|
|
498
693
|
/**
|
|
499
694
|
* Initiate an authentication request for image verification
|
|
500
695
|
*
|
|
@@ -517,7 +712,19 @@ export default class Client extends OpenApi {
|
|
|
517
712
|
*/
|
|
518
713
|
initCardVerify(request: $_model.InitCardVerifyRequest): Promise<$_model.InitCardVerifyResponse>;
|
|
519
714
|
/**
|
|
520
|
-
*
|
|
715
|
+
* Real-Person Server Initialization Interface
|
|
716
|
+
*
|
|
717
|
+
* @remarks
|
|
718
|
+
* - Service Address: cloudauth.aliyuncs.com
|
|
719
|
+
* - Request Method: HTTPS POST and GET.
|
|
720
|
+
* - This interface uses different parameters for different product solutions. For details, please refer to the [official documentation](https://help.aliyun.com/zh/id-verification/financial-grade-id-verification/product-overview/introduction/?spm=a2c4g.11186623.help-menu-2401581.d_0_0.13f644ecRzFHfm&scm=20140722.H_99169._.OR_help-T_cn~zh-V_1).
|
|
721
|
+
* #### Image Format Requirements
|
|
722
|
+
* When performing real-person authentication, please provide images that meet all of the following conditions:
|
|
723
|
+
* - Recent photo with a clear, unobstructed face, natural expression, and facing the camera directly.
|
|
724
|
+
* - Clear photo with normal exposure, no overexposure, underexposure, or halo effects, and no significant angle deviation.
|
|
725
|
+
* - Resolution not exceeding 1920*1080, at least 640*480, recommended short side scaled to 720 pixels, compression ratio greater than 0.9.
|
|
726
|
+
* - Photo size: <1MB.
|
|
727
|
+
* - Supports 90, 180, and 270-degree photos; in the case of multiple faces, the largest face will be selected.
|
|
521
728
|
*
|
|
522
729
|
* @param request - InitFaceVerifyRequest
|
|
523
730
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -525,7 +732,19 @@ export default class Client extends OpenApi {
|
|
|
525
732
|
*/
|
|
526
733
|
initFaceVerifyWithOptions(request: $_model.InitFaceVerifyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.InitFaceVerifyResponse>;
|
|
527
734
|
/**
|
|
528
|
-
*
|
|
735
|
+
* Real-Person Server Initialization Interface
|
|
736
|
+
*
|
|
737
|
+
* @remarks
|
|
738
|
+
* - Service Address: cloudauth.aliyuncs.com
|
|
739
|
+
* - Request Method: HTTPS POST and GET.
|
|
740
|
+
* - This interface uses different parameters for different product solutions. For details, please refer to the [official documentation](https://help.aliyun.com/zh/id-verification/financial-grade-id-verification/product-overview/introduction/?spm=a2c4g.11186623.help-menu-2401581.d_0_0.13f644ecRzFHfm&scm=20140722.H_99169._.OR_help-T_cn~zh-V_1).
|
|
741
|
+
* #### Image Format Requirements
|
|
742
|
+
* When performing real-person authentication, please provide images that meet all of the following conditions:
|
|
743
|
+
* - Recent photo with a clear, unobstructed face, natural expression, and facing the camera directly.
|
|
744
|
+
* - Clear photo with normal exposure, no overexposure, underexposure, or halo effects, and no significant angle deviation.
|
|
745
|
+
* - Resolution not exceeding 1920*1080, at least 640*480, recommended short side scaled to 720 pixels, compression ratio greater than 0.9.
|
|
746
|
+
* - Photo size: <1MB.
|
|
747
|
+
* - Supports 90, 180, and 270-degree photos; in the case of multiple faces, the largest face will be selected.
|
|
529
748
|
*
|
|
530
749
|
* @param request - InitFaceVerifyRequest
|
|
531
750
|
* @returns InitFaceVerifyResponse
|
|
@@ -547,12 +766,22 @@ export default class Client extends OpenApi {
|
|
|
547
766
|
*/
|
|
548
767
|
insertWhiteListSetting(request: $_model.InsertWhiteListSettingRequest): Promise<$_model.InsertWhiteListSettingResponse>;
|
|
549
768
|
/**
|
|
769
|
+
* Silent Liveness Face (LivenessFaceVerify) refers to a service that performs real face detection by inputting pre-obtained face images through an API. The algorithm primarily identifies whether the face is from a screen recording, printed picture, or other types of liveness attacks. This service is suitable for low-risk business scenarios or in conjunction with offline facial recognition SDKs. If your business has higher requirements for real face security, it is recommended to integrate App or WebSDK mode, or integrate with Deepfake face detection services to assist in identifying more dimensions of face forgery risks.
|
|
770
|
+
*
|
|
771
|
+
* @remarks
|
|
772
|
+
* Invoke the LivenessFaceVerify interface to perform liveness detection on a face image.
|
|
773
|
+
*
|
|
550
774
|
* @param request - LivenessFaceVerifyRequest
|
|
551
775
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
552
776
|
* @returns LivenessFaceVerifyResponse
|
|
553
777
|
*/
|
|
554
778
|
livenessFaceVerifyWithOptions(request: $_model.LivenessFaceVerifyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.LivenessFaceVerifyResponse>;
|
|
555
779
|
/**
|
|
780
|
+
* Silent Liveness Face (LivenessFaceVerify) refers to a service that performs real face detection by inputting pre-obtained face images through an API. The algorithm primarily identifies whether the face is from a screen recording, printed picture, or other types of liveness attacks. This service is suitable for low-risk business scenarios or in conjunction with offline facial recognition SDKs. If your business has higher requirements for real face security, it is recommended to integrate App or WebSDK mode, or integrate with Deepfake face detection services to assist in identifying more dimensions of face forgery risks.
|
|
781
|
+
*
|
|
782
|
+
* @remarks
|
|
783
|
+
* Invoke the LivenessFaceVerify interface to perform liveness detection on a face image.
|
|
784
|
+
*
|
|
556
785
|
* @param request - LivenessFaceVerifyRequest
|
|
557
786
|
* @returns LivenessFaceVerifyResponse
|
|
558
787
|
*/
|
|
@@ -872,12 +1101,44 @@ export default class Client extends OpenApi {
|
|
|
872
1101
|
*/
|
|
873
1102
|
vehicleQuery(request: $_model.VehicleQueryRequest): Promise<$_model.VehicleQueryResponse>;
|
|
874
1103
|
/**
|
|
1104
|
+
* Call VerifyMaterial, in a pure server-side access authentication solution, input name, ID number, portrait photo, and front and back photos of the ID card (optional) for real-person authentication, and return the authentication result synchronously.
|
|
1105
|
+
*
|
|
1106
|
+
* @remarks
|
|
1107
|
+
* Preparation for Access: When integrating this API, please ensure that the corresponding preparatory work has been completed. For details, please refer to [Server-side Access Preparation](https://help.aliyun.com/document_detail/127471.html).
|
|
1108
|
+
* Request Method: HTTPS POST and GET.
|
|
1109
|
+
* API Description: The server of the access party submits the authentication materials to the real-person authentication service for verification and comparison, with the results returned synchronously.
|
|
1110
|
+
* Applicable Scope: This interface is only applicable to pure server-side access authentication solutions.
|
|
1111
|
+
* Image Upload Address Explanation:
|
|
1112
|
+
* - HTTP or HTTPS address: Supports publicly accessible HTTP or HTTPS addresses. For example, `http://image-demo.img-cn-hangzhou.aliyuncs.com/example.jpg`.
|
|
1113
|
+
* - OSS address: If the images from the access party are local files, Alibaba Cloud also provides an upload SDK, supporting the business party to upload the images to the specified OSS bucket of the real-person authentication service, and use the obtained OSS address as the image address parameter in the interface. If your business needs to use the upload SDK, please submit a [ticket](https://selfservice.console.aliyun.com/ticket/category/cloudauth/today) to contact us for acquisition.
|
|
1114
|
+
* Image Limitations:
|
|
1115
|
+
* - Does not support relative or absolute paths of local images.
|
|
1116
|
+
* - Please keep the size of a single image within 2 MB to avoid algorithm retrieval timeout.
|
|
1117
|
+
* - The face area in the image should be at least 64*64 pixels.
|
|
1118
|
+
* - There is an 8 MB size limit for the Body of a single request. Please calculate the total size of all images and other information in the request, and do not exceed the limit.
|
|
1119
|
+
*
|
|
875
1120
|
* @param request - VerifyMaterialRequest
|
|
876
1121
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
877
1122
|
* @returns VerifyMaterialResponse
|
|
878
1123
|
*/
|
|
879
1124
|
verifyMaterialWithOptions(request: $_model.VerifyMaterialRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VerifyMaterialResponse>;
|
|
880
1125
|
/**
|
|
1126
|
+
* Call VerifyMaterial, in a pure server-side access authentication solution, input name, ID number, portrait photo, and front and back photos of the ID card (optional) for real-person authentication, and return the authentication result synchronously.
|
|
1127
|
+
*
|
|
1128
|
+
* @remarks
|
|
1129
|
+
* Preparation for Access: When integrating this API, please ensure that the corresponding preparatory work has been completed. For details, please refer to [Server-side Access Preparation](https://help.aliyun.com/document_detail/127471.html).
|
|
1130
|
+
* Request Method: HTTPS POST and GET.
|
|
1131
|
+
* API Description: The server of the access party submits the authentication materials to the real-person authentication service for verification and comparison, with the results returned synchronously.
|
|
1132
|
+
* Applicable Scope: This interface is only applicable to pure server-side access authentication solutions.
|
|
1133
|
+
* Image Upload Address Explanation:
|
|
1134
|
+
* - HTTP or HTTPS address: Supports publicly accessible HTTP or HTTPS addresses. For example, `http://image-demo.img-cn-hangzhou.aliyuncs.com/example.jpg`.
|
|
1135
|
+
* - OSS address: If the images from the access party are local files, Alibaba Cloud also provides an upload SDK, supporting the business party to upload the images to the specified OSS bucket of the real-person authentication service, and use the obtained OSS address as the image address parameter in the interface. If your business needs to use the upload SDK, please submit a [ticket](https://selfservice.console.aliyun.com/ticket/category/cloudauth/today) to contact us for acquisition.
|
|
1136
|
+
* Image Limitations:
|
|
1137
|
+
* - Does not support relative or absolute paths of local images.
|
|
1138
|
+
* - Please keep the size of a single image within 2 MB to avoid algorithm retrieval timeout.
|
|
1139
|
+
* - The face area in the image should be at least 64*64 pixels.
|
|
1140
|
+
* - There is an 8 MB size limit for the Body of a single request. Please calculate the total size of all images and other information in the request, and do not exceed the limit.
|
|
1141
|
+
*
|
|
881
1142
|
* @param request - VerifyMaterialRequest
|
|
882
1143
|
* @returns VerifyMaterialResponse
|
|
883
1144
|
*/
|