public class DetectAuthRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DetectAuthRequest() | 
| DetectAuthRequest(DetectAuthRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| RuleIdConfig | getConfig()Get 意愿核身流程配置。 | 
| Encryption | getEncryption()Get 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。 | 
| String | getExtra()Get 透传字段,在获取验证结果时返回。
- 最长长度1024位。 | 
| String | getIdCard()Get 验证人的身份证号码。
- 是否必传基于[控制台](https://console.cloud.tencent.com/faceid/access)申请业务流程时配置的提示。 | 
| String | getImageBase64()Get 用于人脸比对的图像数据,使用base64编码。
- Base64编码后的图片数据大小不超过3M。
- 仅支持jpg、png格式。
- 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。 | 
| IntentionActionConfig[] | getIntentionActions()Get 意愿核身(点头确认模式)使用的文案。
- 若未使用意愿核身(点头确认模式),则该字段无需传入。
- 点头确认模式支持1-10轮(不超过10轮)的意愿确认。 | 
| IntentionQuestion[] | getIntentionQuestions()Get 意愿核身(语音播报+语音回答模式)使用的文案。
- 包括:系统语音播报的文本、需要核验的标准文本。
- 问答模式支持1-10轮(不超过10轮)的意愿确认。 | 
| String | getIntentionVerifyText()Get 意愿核身(朗读模式)使用的文案。
- 若未使用意愿核身(朗读模式),则该字段无需传入。
- 最长可接受120的字符串长度。 | 
| String | getName()Get 验证人的姓名。
- 是否必传基于[控制台](https://console.cloud.tencent.com/faceid/access)申请业务流程时配置的提示。
- 最长长度32位。中文请使用UTF-8编码。 | 
| String | getRedirectUrl()Get 认证结束后重定向的回调链接地址。
- 最长长度1024位。 | 
| String | getRuleId()Get 业务流程ID。
- 用于细分客户使用场景, 可为业务配置不同的业务流程。
- 申请开通服务后,登录腾讯云[慧眼人脸核身控制](https://console.cloud.tencent.com/faceid)进行创建,审核通过后即可调用。
- 如有疑问,请添加[腾讯云人脸核身小助手](https://cloud.tencent.com/document/product/1007/56130)进行咨询。 | 
| String | getTerminalType()Get 本接口不需要传递此参数。 | 
| void | setConfig(RuleIdConfig Config)Set 意愿核身流程配置。 | 
| void | setEncryption(Encryption Encryption)Set 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。 | 
| void | setExtra(String Extra)Set 透传字段,在获取验证结果时返回。
- 最长长度1024位。 | 
| void | setIdCard(String IdCard)Set 验证人的身份证号码。
- 是否必传基于[控制台](https://console.cloud.tencent.com/faceid/access)申请业务流程时配置的提示。 | 
| void | setImageBase64(String ImageBase64)Set 用于人脸比对的图像数据,使用base64编码。
- Base64编码后的图片数据大小不超过3M。
- 仅支持jpg、png格式。
- 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。 | 
| void | setIntentionActions(IntentionActionConfig[] IntentionActions)Set 意愿核身(点头确认模式)使用的文案。
- 若未使用意愿核身(点头确认模式),则该字段无需传入。
- 点头确认模式支持1-10轮(不超过10轮)的意愿确认。 | 
| void | setIntentionQuestions(IntentionQuestion[] IntentionQuestions)Set 意愿核身(语音播报+语音回答模式)使用的文案。
- 包括:系统语音播报的文本、需要核验的标准文本。
- 问答模式支持1-10轮(不超过10轮)的意愿确认。 | 
| void | setIntentionVerifyText(String IntentionVerifyText)Set 意愿核身(朗读模式)使用的文案。
- 若未使用意愿核身(朗读模式),则该字段无需传入。
- 最长可接受120的字符串长度。 | 
| void | setName(String Name)Set 验证人的姓名。
- 是否必传基于[控制台](https://console.cloud.tencent.com/faceid/access)申请业务流程时配置的提示。
- 最长长度32位。中文请使用UTF-8编码。 | 
| void | setRedirectUrl(String RedirectUrl)Set 认证结束后重定向的回调链接地址。
- 最长长度1024位。 | 
| void | setRuleId(String RuleId)Set 业务流程ID。
- 用于细分客户使用场景, 可为业务配置不同的业务流程。
- 申请开通服务后,登录腾讯云[慧眼人脸核身控制](https://console.cloud.tencent.com/faceid)进行创建,审核通过后即可调用。
- 如有疑问,请添加[腾讯云人脸核身小助手](https://cloud.tencent.com/document/product/1007/56130)进行咨询。 | 
| void | setTerminalType(String TerminalType)Set 本接口不需要传递此参数。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DetectAuthRequest()
public DetectAuthRequest(DetectAuthRequest source)
public String getRuleId()
public void setRuleId(String RuleId)
RuleId - 业务流程ID。
- 用于细分客户使用场景, 可为业务配置不同的业务流程。
- 申请开通服务后,登录腾讯云[慧眼人脸核身控制](https://console.cloud.tencent.com/faceid)进行创建,审核通过后即可调用。
- 如有疑问,请添加[腾讯云人脸核身小助手](https://cloud.tencent.com/document/product/1007/56130)进行咨询。public String getTerminalType()
public void setTerminalType(String TerminalType)
TerminalType - 本接口不需要传递此参数。public String getIdCard()
public void setIdCard(String IdCard)
IdCard - 验证人的身份证号码。
- 是否必传基于[控制台](https://console.cloud.tencent.com/faceid/access)申请业务流程时配置的提示。public String getName()
public void setName(String Name)
Name - 验证人的姓名。
- 是否必传基于[控制台](https://console.cloud.tencent.com/faceid/access)申请业务流程时配置的提示。
- 最长长度32位。中文请使用UTF-8编码。public String getRedirectUrl()
public void setRedirectUrl(String RedirectUrl)
RedirectUrl - 认证结束后重定向的回调链接地址。
- 最长长度1024位。public String getExtra()
public void setExtra(String Extra)
Extra - 透传字段,在获取验证结果时返回。
- 最长长度1024位。public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64 - 用于人脸比对的图像数据,使用base64编码。
- Base64编码后的图片数据大小不超过3M。
- 仅支持jpg、png格式。
- 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。public Encryption getEncryption()
public void setEncryption(Encryption Encryption)
Encryption - 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。public String getIntentionVerifyText()
public void setIntentionVerifyText(String IntentionVerifyText)
IntentionVerifyText - 意愿核身(朗读模式)使用的文案。
- 若未使用意愿核身(朗读模式),则该字段无需传入。
- 最长可接受120的字符串长度。public IntentionQuestion[] getIntentionQuestions()
public void setIntentionQuestions(IntentionQuestion[] IntentionQuestions)
IntentionQuestions - 意愿核身(语音播报+语音回答模式)使用的文案。
- 包括:系统语音播报的文本、需要核验的标准文本。
- 问答模式支持1-10轮(不超过10轮)的意愿确认。public IntentionActionConfig[] getIntentionActions()
public void setIntentionActions(IntentionActionConfig[] IntentionActions)
IntentionActions - 意愿核身(点头确认模式)使用的文案。
- 若未使用意愿核身(点头确认模式),则该字段无需传入。
- 点头确认模式支持1-10轮(不超过10轮)的意愿确认。public RuleIdConfig getConfig()
public void setConfig(RuleIdConfig Config)
Config - 意愿核身流程配置。Copyright © 2025. All rights reserved.