public class FaceidClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description |
|---|
FaceidClient(Credential credential,
String region) |
FaceidClient(Credential credential,
String region,
ClientProfile profile) |
| Modifier and Type | Method and Description | ||
|---|---|---|---|
ApplyCardVerificationResponse |
ApplyCardVerification(ApplyCardVerificationRequest req)
The types of national cards supported by the API and whether instructions on the back of the card are required are as follows:
Nationality
CardType | Back side required | Indonesia ID card No Indonesia Driving License No Hongkong ID card Yes Thailand ID card No Thailand Driving License Yes Malaysia ID card Yes Malaysia Driving License Yes Singapore ID card Yes Singapore Driving License Yes Philippine ID card Yes Philippine Driving License No Japan ID card Yes Japan Driving License No Taiwan ID Card Yes Bangladesh ID card Yes Nigeria ID card Yes Nigeria Driving License Yes Pakistan ID card Yes Pakistan Driving License Yes |
ApplyLivenessTokenResponse |
ApplyLivenessToken(ApplyLivenessTokenRequest req)
This API is used to apply for a token before calling the liveness detection service each time.
|
||
ApplySdkVerificationTokenResponse |
ApplySdkVerificationToken(ApplySdkVerificationTokenRequest req)
This API is used to apply for a token before calling the eKYC SDK service each time.
|
||
ApplyWebVerificationBizTokenIntlResponse |
ApplyWebVerificationBizTokenIntl(ApplyWebVerificationBizTokenIntlRequest req)
This API is used to obtain a BizToken before each call to the Web verification service.
|
||
ApplyWebVerificationTokenResponse |
ApplyWebVerificationToken(ApplyWebVerificationTokenRequest req)
This API is used to apply for a token before calling the web-based verification service each time.
|
||
CompareFaceLivenessResponse |
CompareFaceLiveness(CompareFaceLivenessRequest req)
This interface supports judgment of real person and photo comparison to verify the user's identity online.
|
||
CreateUploadUrlResponse |
CreateUploadUrl(CreateUploadUrlRequest req)
This API is used to generate a temporary `UploadUrl` for uploading resource files (with the `HTTP PUT` method).
|
||
DetectAIFakeFacesResponse |
DetectAIFakeFaces(DetectAIFakeFacesRequest req)
Based on the multimodal AI large model algorithm, it provides anti-attack detection capabilities for facial images and videos.
|
||
DetectReflectLivenessAndCompareResponse |
DetectReflectLivenessAndCompare(DetectReflectLivenessAndCompareRequest req)
This API is used to detect liveness with the package generated by the liveness comparison (reflection-based) SDK, and to compare the person detected with that in the image passed in.
|
||
GenerateReflectSequenceResponse |
GenerateReflectSequence(GenerateReflectSequenceRequest req)
This API is used to generate an appropriate light sequence based on the information collected by the liveness comparison (reflection-based) SDK and pass the light sequence into the SDK to start the eKYC process.
|
||
GetCardVerificationResultResponse |
GetCardVerificationResult(GetCardVerificationResultRequest req)
The interface supports obtaining the certificate authentication result based on the token.
|
||
GetFaceIdResultIntlResponse |
GetFaceIdResultIntl(GetFaceIdResultIntlRequest req)
This API is used to get the verification result with the corresponding SDK token after the identity verification process is completed.
|
||
GetFaceIdTokenIntlResponse |
GetFaceIdTokenIntl(GetFaceIdTokenIntlRequest req)
This API is used to apply for an SDK token before calling the selfie verification SDK each time.
|
||
GetLivenessResultResponse |
GetLivenessResult(GetLivenessResultRequest req)
This API is used to get the verification result with the corresponding token (SdkToken) after the liveness detection is completed.
|
||
GetSdkVerificationResultResponse |
GetSdkVerificationResult(GetSdkVerificationResultRequest req)
This API is used to get the verification result with the corresponding token after the SDK-based verification is completed.
|
||
GetWebVerificationResultResponse |
GetWebVerificationResult(GetWebVerificationResultRequest req)
This API is used to get the verification result with the corresponding token (BizToken) after the web-based verification is completed.
|
||
GetWebVerificationResultIntlResponse |
GetWebVerificationResultIntl(GetWebVerificationResultIntlRequest req)
This API is used to get the verification result with the corresponding BizToken after the web-based verification is completed.
|
||
LivenessCompareResponse |
LivenessCompare(LivenessCompareRequest req)
This API is used to pass in a video and a photo, determine whether the person in the video is real, and if yes, then determine whether the person in the video is the same as that in the photo.
|
||
VideoLivenessCompareResponse |
VideoLivenessCompare(VideoLivenessCompareRequest req)
This API is used to pass in URLs of a video and a photo, determine whether the person in the video is real, and if yes, then determine whether the person in the video is the same as that in the photo.
|
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, internalRequest, internalRequestRaw, processResponseJson, processResponseSSE, retry, setClientProfile, setCredential, setRegion, setRegionBreakerpublic FaceidClient(Credential credential, String region)
public FaceidClient(Credential credential, String region, ClientProfile profile)
public ApplyCardVerificationResponse ApplyCardVerification(ApplyCardVerificationRequest req) throws TencentCloudSDKException
| Nationality | CardType | Back side required |
| Indonesia | ID card | No |
| Indonesia | Driving License | No |
| Hongkong | ID card | Yes |
| Thailand | ID card | No |
| Thailand | Driving License | Yes |
| Malaysia | ID card | Yes |
| Malaysia | Driving License | Yes |
| Singapore | ID card | Yes |
| Singapore | Driving License | Yes |
| Philippine | ID card | Yes |
| Philippine | Driving License | No |
| Japan | ID card | Yes |
| Japan | Driving License | No |
| Taiwan | ID Card | Yes |
| Bangladesh | ID card | Yes |
| Nigeria | ID card | Yes |
| Nigeria | Driving License | Yes |
| Pakistan | ID card | Yes |
| Pakistan | Driving License | Yes |
req - ApplyCardVerificationRequestTencentCloudSDKExceptionpublic ApplyLivenessTokenResponse ApplyLivenessToken(ApplyLivenessTokenRequest req) throws TencentCloudSDKException
req - ApplyLivenessTokenRequestTencentCloudSDKExceptionpublic ApplySdkVerificationTokenResponse ApplySdkVerificationToken(ApplySdkVerificationTokenRequest req) throws TencentCloudSDKException
req - ApplySdkVerificationTokenRequestTencentCloudSDKExceptionpublic ApplyWebVerificationBizTokenIntlResponse ApplyWebVerificationBizTokenIntl(ApplyWebVerificationBizTokenIntlRequest req) throws TencentCloudSDKException
req - ApplyWebVerificationBizTokenIntlRequestTencentCloudSDKExceptionpublic ApplyWebVerificationTokenResponse ApplyWebVerificationToken(ApplyWebVerificationTokenRequest req) throws TencentCloudSDKException
req - ApplyWebVerificationTokenRequestTencentCloudSDKExceptionpublic CompareFaceLivenessResponse CompareFaceLiveness(CompareFaceLivenessRequest req) throws TencentCloudSDKException
req - CompareFaceLivenessRequestTencentCloudSDKExceptionpublic CreateUploadUrlResponse CreateUploadUrl(CreateUploadUrlRequest req) throws TencentCloudSDKException
req - CreateUploadUrlRequestTencentCloudSDKExceptionpublic DetectAIFakeFacesResponse DetectAIFakeFaces(DetectAIFakeFacesRequest req) throws TencentCloudSDKException
req - DetectAIFakeFacesRequestTencentCloudSDKExceptionpublic DetectReflectLivenessAndCompareResponse DetectReflectLivenessAndCompare(DetectReflectLivenessAndCompareRequest req) throws TencentCloudSDKException
req - DetectReflectLivenessAndCompareRequestTencentCloudSDKExceptionpublic GenerateReflectSequenceResponse GenerateReflectSequence(GenerateReflectSequenceRequest req) throws TencentCloudSDKException
req - GenerateReflectSequenceRequestTencentCloudSDKExceptionpublic GetCardVerificationResultResponse GetCardVerificationResult(GetCardVerificationResultRequest req) throws TencentCloudSDKException
req - GetCardVerificationResultRequestTencentCloudSDKExceptionpublic GetFaceIdResultIntlResponse GetFaceIdResultIntl(GetFaceIdResultIntlRequest req) throws TencentCloudSDKException
req - GetFaceIdResultIntlRequestTencentCloudSDKExceptionpublic GetFaceIdTokenIntlResponse GetFaceIdTokenIntl(GetFaceIdTokenIntlRequest req) throws TencentCloudSDKException
req - GetFaceIdTokenIntlRequestTencentCloudSDKExceptionpublic GetLivenessResultResponse GetLivenessResult(GetLivenessResultRequest req) throws TencentCloudSDKException
req - GetLivenessResultRequestTencentCloudSDKExceptionpublic GetSdkVerificationResultResponse GetSdkVerificationResult(GetSdkVerificationResultRequest req) throws TencentCloudSDKException
req - GetSdkVerificationResultRequestTencentCloudSDKExceptionpublic GetWebVerificationResultResponse GetWebVerificationResult(GetWebVerificationResultRequest req) throws TencentCloudSDKException
req - GetWebVerificationResultRequestTencentCloudSDKExceptionpublic GetWebVerificationResultIntlResponse GetWebVerificationResultIntl(GetWebVerificationResultIntlRequest req) throws TencentCloudSDKException
req - GetWebVerificationResultIntlRequestTencentCloudSDKExceptionpublic LivenessCompareResponse LivenessCompare(LivenessCompareRequest req) throws TencentCloudSDKException
req - LivenessCompareRequestTencentCloudSDKExceptionpublic VideoLivenessCompareResponse VideoLivenessCompare(VideoLivenessCompareRequest req) throws TencentCloudSDKException
req - VideoLivenessCompareRequestTencentCloudSDKExceptionCopyright © 2025. All rights reserved.