Skip to content

Commit ecccd8f

Browse files
committed
Update API Initialize: add request parameters AutoRegistration.
1 parent b20211d commit ecccd8f

File tree

4 files changed

+336
-24
lines changed

4 files changed

+336
-24
lines changed

ChangeLog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2025-09-19 Version: 3.12.2
2+
- Update API Initialize: add request parameters AutoRegistration.
3+
- Update API Initialize: add request parameters FaceGroupCodes.
4+
- Update API Initialize: add request parameters FaceRegisterGroupCode.
5+
- Update API Initialize: add request parameters FaceVerifyThreshold.
6+
- Update API Initialize: add request parameters ReturnFaces.
7+
- Update API Initialize: add request parameters SaveFacePicture.
8+
- Update API Initialize: add request parameters TargetFacePicture.
9+
- Update API Initialize: add request parameters TargetFacePictureUrl.
10+
- Update API Initialize: add request parameters VerifyModel.
11+
12+
113
2025-09-18 Version: 3.12.1
214
- Update API FaceCompare: add request parameters FacePictureQualityCheck.
315

src/Cloudauthintl.php

Lines changed: 72 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,10 @@ public function getEndpoint($productId, $regionId, $endpointRule, $network, $suf
147147
}
148148

149149
/**
150-
* 地址相似比对.
150+
* Address Similarity Comparison.
151+
*
152+
* @remarks
153+
* API for comparing two addresses, standardizing and checking address consistency.
151154
*
152155
* @param Request - AddressCompareIntlRequest
153156
* @param runtime - runtime options for this request RuntimeOptions
@@ -198,7 +201,10 @@ public function addressCompareIntlWithOptions($request, $runtime)
198201
}
199202

200203
/**
201-
* 地址相似比对.
204+
* Address Similarity Comparison.
205+
*
206+
* @remarks
207+
* API for comparing two addresses, standardizing and checking address consistency.
202208
*
203209
* @param Request - AddressCompareIntlRequest
204210
*
@@ -319,7 +325,7 @@ public function addressVerifyIntl($request)
319325
}
320326

321327
/**
322-
* 地址核验.
328+
* This topic describes the address verification API operation, which verifies the region and address of a device using device data and carrier big data capabilities.
323329
*
324330
* @param Request - AddressVerifyV2IntlRequest
325331
* @param runtime - runtime options for this request RuntimeOptions
@@ -378,7 +384,7 @@ public function addressVerifyV2IntlWithOptions($request, $runtime)
378384
}
379385

380386
/**
381-
* 地址核验.
387+
* This topic describes the address verification API operation, which verifies the region and address of a device using device data and carrier big data capabilities.
382388
*
383389
* @param Request - AddressVerifyV2IntlRequest
384390
*
@@ -973,7 +979,10 @@ public function credentialVerifyIntlAdvance($request, $runtime)
973979
}
974980

975981
/**
976-
* 人脸凭证核验.
982+
* Face Credential Verification.
983+
*
984+
* @remarks
985+
* Input a face image and use the algorithm to detect if there is a risk of deep forgery. This includes risk scenarios such as AIGC-generated faces, deepfake face swapping, template faces, and rephotographed faces, and outputs risk labels and confidence levels.
977986
*
978987
* @param Request - DeepfakeDetectIntlRequest
979988
* @param runtime - runtime options for this request RuntimeOptions
@@ -1034,7 +1043,10 @@ public function deepfakeDetectIntlWithOptions($request, $runtime)
10341043
}
10351044

10361045
/**
1037-
* 人脸凭证核验.
1046+
* Face Credential Verification.
1047+
*
1048+
* @remarks
1049+
* Input a face image and use the algorithm to detect if there is a risk of deep forgery. This includes risk scenarios such as AIGC-generated faces, deepfake face swapping, template faces, and rephotographed faces, and outputs risk labels and confidence levels.
10381050
*
10391051
* @param Request - DeepfakeDetectIntlRequest
10401052
*
@@ -1216,7 +1228,7 @@ public function docOcr($request)
12161228
}
12171229

12181230
/**
1219-
* 全球证件ocr识别接口.
1231+
* Global Document OCR Recognition Interface.
12201232
*
12211233
* @param Request - DocOcrMaxRequest
12221234
* @param runtime - runtime options for this request RuntimeOptions
@@ -1303,7 +1315,7 @@ public function docOcrMaxWithOptions($request, $runtime)
13031315
}
13041316

13051317
/**
1306-
* 全球证件ocr识别接口.
1318+
* Global Document OCR Recognition Interface.
13071319
*
13081320
* @param Request - DocOcrMaxRequest
13091321
*
@@ -1321,7 +1333,7 @@ public function docOcrMax($request)
13211333
}
13221334

13231335
/**
1324-
* ekyc纯服务端接口.
1336+
* This topic describes how to integrate with ID Verification using only the server-side API.
13251337
*
13261338
* @param Request - EkycVerifyRequest
13271339
* @param runtime - runtime options for this request RuntimeOptions
@@ -1410,7 +1422,7 @@ public function ekycVerifyWithOptions($request, $runtime)
14101422
}
14111423

14121424
/**
1413-
* ekyc纯服务端接口.
1425+
* This topic describes how to integrate with ID Verification using only the server-side API.
14141426
*
14151427
* @param Request - EkycVerifyRequest
14161428
*
@@ -1428,7 +1440,7 @@ public function ekycVerify($request)
14281440
}
14291441

14301442
/**
1431-
* 人脸比对.
1443+
* This topic describes how to integrate FaceCompare using only the server-side API.
14321444
*
14331445
* @param Request - FaceCompareRequest
14341446
* @param runtime - runtime options for this request RuntimeOptions
@@ -1489,7 +1501,7 @@ public function faceCompareWithOptions($request, $runtime)
14891501
}
14901502

14911503
/**
1492-
* 人脸比对.
1504+
* This topic describes how to integrate FaceCompare using only the server-side API.
14931505
*
14941506
* @param Request - FaceCompareRequest
14951507
*
@@ -1507,7 +1519,7 @@ public function faceCompare($request)
15071519
}
15081520

15091521
/**
1510-
* 国际人脸保镖纯服务端接口.
1522+
* This topic describes how to set up the server for FACE_GUARD.
15111523
*
15121524
* @param Request - FaceGuardRiskRequest
15131525
* @param runtime - runtime options for this request RuntimeOptions
@@ -1558,7 +1570,7 @@ public function faceGuardRiskWithOptions($request, $runtime)
15581570
}
15591571

15601572
/**
1561-
* 国际人脸保镖纯服务端接口.
1573+
* This topic describes how to set up the server for FACE_GUARD.
15621574
*
15631575
* @param Request - FaceGuardRiskRequest
15641576
*
@@ -1576,7 +1588,7 @@ public function faceGuardRisk($request)
15761588
}
15771589

15781590
/**
1579-
* 静默活体API 纯服务端.
1591+
* Passive liveness detection (FaceLiveness) is a service that detects whether a pre-captured facial image, submitted to an API operation, is a real face. The algorithm primarily detects presentation attacks, such as screen replays and printed photos. This service is suitable for low-risk business scen.
15801592
*
15811593
* @param Request - FaceLivenessRequest
15821594
* @param runtime - runtime options for this request RuntimeOptions
@@ -1645,7 +1657,7 @@ public function faceLivenessWithOptions($request, $runtime)
16451657
}
16461658

16471659
/**
1648-
* 静默活体API 纯服务端.
1660+
* Passive liveness detection (FaceLiveness) is a service that detects whether a pre-captured facial image, submitted to an API operation, is a real face. The algorithm primarily detects presentation attacks, such as screen replays and printed photos. This service is suitable for low-risk business scen.
16491661
*
16501662
* @param Request - FaceLivenessRequest
16511663
*
@@ -1732,7 +1744,7 @@ public function fraudResultCallBack($request)
17321744
}
17331745

17341746
/**
1735-
* 身份二要素有效期核验.
1747+
* This operation verifies the authenticity and consistency of a name, ID card number, and the start and end dates of the ID card\\"s validity period against an authoritative source.
17361748
*
17371749
* @param Request - Id2MetaPeriodVerifyIntlRequest
17381750
* @param runtime - runtime options for this request RuntimeOptions
@@ -1803,7 +1815,7 @@ public function id2MetaPeriodVerifyIntlWithOptions($request, $runtime)
18031815
}
18041816

18051817
/**
1806-
* 身份二要素有效期核验.
1818+
* This operation verifies the authenticity and consistency of a name, ID card number, and the start and end dates of the ID card\\"s validity period against an authoritative source.
18071819
*
18081820
* @param Request - Id2MetaPeriodVerifyIntlRequest
18091821
*
@@ -1821,7 +1833,7 @@ public function id2MetaPeriodVerifyIntl($request)
18211833
}
18221834

18231835
/**
1824-
* 身份二要素国际版接口.
1836+
* Verifies that a name and an ID card number are consistent.
18251837
*
18261838
* @param Request - Id2MetaVerifyIntlRequest
18271839
* @param runtime - runtime options for this request RuntimeOptions
@@ -1872,7 +1884,7 @@ public function id2MetaVerifyIntlWithOptions($request, $runtime)
18721884
}
18731885

18741886
/**
1875-
* 身份二要素国际版接口.
1887+
* Verifies that a name and an ID card number are consistent.
18761888
*
18771889
* @param Request - Id2MetaVerifyIntlRequest
18781890
*
@@ -1920,6 +1932,10 @@ public function initializeWithOptions($tmpReq, $runtime)
19201932
@$query['Authorize'] = $request->authorize;
19211933
}
19221934

1935+
if (null !== $request->autoRegistration) {
1936+
@$query['AutoRegistration'] = $request->autoRegistration;
1937+
}
1938+
19231939
if (null !== $request->callbackToken) {
19241940
@$query['CallbackToken'] = $request->callbackToken;
19251941
}
@@ -1980,10 +1996,22 @@ public function initializeWithOptions($tmpReq, $runtime)
19801996
@$query['ExperienceCode'] = $request->experienceCode;
19811997
}
19821998

1999+
if (null !== $request->faceGroupCodes) {
2000+
@$query['FaceGroupCodes'] = $request->faceGroupCodes;
2001+
}
2002+
19832003
if (null !== $request->facePictureUrl) {
19842004
@$query['FacePictureUrl'] = $request->facePictureUrl;
19852005
}
19862006

2007+
if (null !== $request->faceRegisterGroupCode) {
2008+
@$query['FaceRegisterGroupCode'] = $request->faceRegisterGroupCode;
2009+
}
2010+
2011+
if (null !== $request->faceVerifyThreshold) {
2012+
@$query['FaceVerifyThreshold'] = $request->faceVerifyThreshold;
2013+
}
2014+
19872015
if (null !== $request->idFaceQuality) {
19882016
@$query['IdFaceQuality'] = $request->idFaceQuality;
19892017
}
@@ -2040,10 +2068,18 @@ public function initializeWithOptions($tmpReq, $runtime)
20402068
@$query['ProductFlow'] = $request->productFlow;
20412069
}
20422070

2071+
if (null !== $request->returnFaces) {
2072+
@$query['ReturnFaces'] = $request->returnFaces;
2073+
}
2074+
20432075
if (null !== $request->returnUrl) {
20442076
@$query['ReturnUrl'] = $request->returnUrl;
20452077
}
20462078

2079+
if (null !== $request->saveFacePicture) {
2080+
@$query['SaveFacePicture'] = $request->saveFacePicture;
2081+
}
2082+
20472083
if (null !== $request->sceneCode) {
20482084
@$query['SceneCode'] = $request->sceneCode;
20492085
}
@@ -2068,10 +2104,22 @@ public function initializeWithOptions($tmpReq, $runtime)
20682104
@$query['StyleConfig'] = $request->styleConfig;
20692105
}
20702106

2107+
if (null !== $request->targetFacePicture) {
2108+
@$query['TargetFacePicture'] = $request->targetFacePicture;
2109+
}
2110+
2111+
if (null !== $request->targetFacePictureUrl) {
2112+
@$query['TargetFacePictureUrl'] = $request->targetFacePictureUrl;
2113+
}
2114+
20712115
if (null !== $request->useNFC) {
20722116
@$query['UseNFC'] = $request->useNFC;
20732117
}
20742118

2119+
if (null !== $request->verifyModel) {
2120+
@$query['VerifyModel'] = $request->verifyModel;
2121+
}
2122+
20752123
$body = [];
20762124
if (null !== $request->facePictureBase64) {
20772125
@$body['FacePictureBase64'] = $request->facePictureBase64;
@@ -2115,7 +2163,7 @@ public function initialize($request)
21152163
}
21162164

21172165
/**
2118-
* 客户端连接保持
2166+
* If your server makes infrequent calls to the ID Verification API, you can call the KeepaliveIntl operation to maintain the client connection.
21192167
*
21202168
* @param Request - KeepaliveIntlRequest
21212169
* @param runtime - runtime options for this request RuntimeOptions
@@ -2145,7 +2193,7 @@ public function keepaliveIntlWithOptions($runtime)
21452193
}
21462194

21472195
/**
2148-
* 客户端连接保持
2196+
* If your server makes infrequent calls to the ID Verification API, you can call the KeepaliveIntl operation to maintain the client connection.
21492197
*
21502198
* @returns KeepaliveIntlResponse
21512199
*
@@ -2159,7 +2207,7 @@ public function keepaliveIntl()
21592207
}
21602208

21612209
/**
2162-
* 手机号二要素核验API.
2210+
* Verifies the authenticity and consistency of a mobile number and name against an authoritative data source.
21632211
*
21642212
* @param Request - Mobile2MetaVerifyIntlRequest
21652213
* @param runtime - runtime options for this request RuntimeOptions
@@ -2210,7 +2258,7 @@ public function mobile2MetaVerifyIntlWithOptions($request, $runtime)
22102258
}
22112259

22122260
/**
2213-
* 手机号二要素核验API.
2261+
* Verifies the authenticity and consistency of a mobile number and name against an authoritative data source.
22142262
*
22152263
* @param Request - Mobile2MetaVerifyIntlRequest
22162264
*

0 commit comments

Comments
 (0)