security

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package security 包含聚安全API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=61781

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaDiafiTokenCheckAPIRequest added in v1.2.5

type AlibabaDiafiTokenCheckAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaDiafiTokenCheckAPIRequest 天朗token校验API API请求 alibaba.diafi.token.check

天朗token校验

func NewAlibabaDiafiTokenCheckRequest added in v1.2.5

func NewAlibabaDiafiTokenCheckRequest() *AlibabaDiafiTokenCheckAPIRequest

NewAlibabaDiafiTokenCheckRequest 初始化AlibabaDiafiTokenCheckAPIRequest对象

func (AlibabaDiafiTokenCheckAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaDiafiTokenCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDiafiTokenCheckAPIRequest) GetApiParams added in v1.2.5

func (r AlibabaDiafiTokenCheckAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDiafiTokenCheckAPIRequest) GetApp added in v1.2.5

GetApp App Getter

func (AlibabaDiafiTokenCheckAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaDiafiTokenCheckAPIRequest) GetToken added in v1.2.5

GetToken Token Getter

func (*AlibabaDiafiTokenCheckAPIRequest) SetApp added in v1.2.5

SetApp is App Setter 对应配置

func (*AlibabaDiafiTokenCheckAPIRequest) SetToken added in v1.2.5

func (r *AlibabaDiafiTokenCheckAPIRequest) SetToken(_token string) error

SetToken is Token Setter token

type AlibabaDiafiTokenCheckAPIResponse added in v1.2.5

type AlibabaDiafiTokenCheckAPIResponse struct {
	model.CommonResponse
	AlibabaDiafiTokenCheckAPIResponseModel
}

AlibabaDiafiTokenCheckAPIResponse 天朗token校验API API返回值 alibaba.diafi.token.check

天朗token校验

type AlibabaDiafiTokenCheckAPIResponseModel added in v1.2.5

type AlibabaDiafiTokenCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_diafi_token_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果集
	Result *DiAfiResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaDiafiTokenCheckAPIResponseModel is 天朗token校验API 成功返回结果

type AlibabaSecurityJaqAfsCheckAPIRequest added in v1.2.0

type AlibabaSecurityJaqAfsCheckAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAfsCheckAPIRequest 反欺诈二次验证接口 API请求 alibaba.security.jaq.afs.check

反欺诈二次验证接口

func NewAlibabaSecurityJaqAfsCheckRequest

func NewAlibabaSecurityJaqAfsCheckRequest() *AlibabaSecurityJaqAfsCheckAPIRequest

NewAlibabaSecurityJaqAfsCheckRequest 初始化AlibabaSecurityJaqAfsCheckAPIRequest对象

func (AlibabaSecurityJaqAfsCheckAPIRequest) GetAfsKey added in v1.2.0

GetAfsKey AfsKey Getter

func (AlibabaSecurityJaqAfsCheckAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqAfsCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAfsCheckAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqAfsCheckAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAfsCheckAPIRequest) GetPlatform added in v1.2.0

GetPlatform Platform Getter

func (AlibabaSecurityJaqAfsCheckAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqAfsCheckAPIRequest) GetSessionId added in v1.2.0

GetSessionId SessionId Getter

func (AlibabaSecurityJaqAfsCheckAPIRequest) GetSig added in v1.2.0

GetSig Sig Getter

func (AlibabaSecurityJaqAfsCheckAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlibabaSecurityJaqAfsCheckAPIRequest) SetAfsKey added in v1.2.0

func (r *AlibabaSecurityJaqAfsCheckAPIRequest) SetAfsKey(_afsKey string) error

SetAfsKey is AfsKey Setter 用户接入的时候获取的风控key

func (*AlibabaSecurityJaqAfsCheckAPIRequest) SetPlatform added in v1.2.0

func (r *AlibabaSecurityJaqAfsCheckAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 上报平台枚举值 1标识Android端 2标识iOS端 3标识PC端及其他

func (*AlibabaSecurityJaqAfsCheckAPIRequest) SetSessionId added in v1.2.0

func (r *AlibabaSecurityJaqAfsCheckAPIRequest) SetSessionId(_sessionId string) error

SetSessionId is SessionId Setter 会话ID,来自客户端上报

func (*AlibabaSecurityJaqAfsCheckAPIRequest) SetSig added in v1.2.0

SetSig is Sig Setter 签名串,来自客户端上报

func (*AlibabaSecurityJaqAfsCheckAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter token,来自客户端上报

type AlibabaSecurityJaqAfsCheckAPIResponse

type AlibabaSecurityJaqAfsCheckAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAfsCheckAPIResponseModel
}

AlibabaSecurityJaqAfsCheckAPIResponse 反欺诈二次验证接口 API返回值 alibaba.security.jaq.afs.check

反欺诈二次验证接口

type AlibabaSecurityJaqAfsCheckAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAfsCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_afs_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 验证结果
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqAfsCheckAPIResponseModel is 反欺诈二次验证接口 成功返回结果

type AlibabaSecurityJaqAppOfficialApplyAPIRequest added in v1.2.0

type AlibabaSecurityJaqAppOfficialApplyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAppOfficialApplyAPIRequest 聚安全官方应用申请 API请求 alibaba.security.jaq.app.official.apply

官方应用申请接口

func NewAlibabaSecurityJaqAppOfficialApplyRequest

func NewAlibabaSecurityJaqAppOfficialApplyRequest() *AlibabaSecurityJaqAppOfficialApplyAPIRequest

NewAlibabaSecurityJaqAppOfficialApplyRequest 初始化AlibabaSecurityJaqAppOfficialApplyAPIRequest对象

func (AlibabaSecurityJaqAppOfficialApplyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAppOfficialApplyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAppOfficialApplyAPIRequest) GetOfficialAppApplyRequest added in v1.2.0

GetOfficialAppApplyRequest OfficialAppApplyRequest Getter

func (AlibabaSecurityJaqAppOfficialApplyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqAppOfficialApplyAPIRequest) SetOfficialAppApplyRequest added in v1.2.0

func (r *AlibabaSecurityJaqAppOfficialApplyAPIRequest) SetOfficialAppApplyRequest(_officialAppApplyRequest *OfficialAppApplyRequest) error

SetOfficialAppApplyRequest is OfficialAppApplyRequest Setter 官方应用申请入参

type AlibabaSecurityJaqAppOfficialApplyAPIResponse

type AlibabaSecurityJaqAppOfficialApplyAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAppOfficialApplyAPIResponseModel
}

AlibabaSecurityJaqAppOfficialApplyAPIResponse 聚安全官方应用申请 API返回值 alibaba.security.jaq.app.official.apply

官方应用申请接口

type AlibabaSecurityJaqAppOfficialApplyAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAppOfficialApplyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_app_official_apply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 申请结果
	Result *OfficialAppApplyResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqAppOfficialApplyAPIResponseModel is 聚安全官方应用申请 成功返回结果

type AlibabaSecurityJaqAppOfficialVerifyAPIRequest added in v1.2.0

type AlibabaSecurityJaqAppOfficialVerifyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAppOfficialVerifyAPIRequest 聚安全验证官方应用接口 API请求 alibaba.security.jaq.app.official.verify

接入用户来查询应用是否为官方应用

func NewAlibabaSecurityJaqAppOfficialVerifyRequest

func NewAlibabaSecurityJaqAppOfficialVerifyRequest() *AlibabaSecurityJaqAppOfficialVerifyAPIRequest

NewAlibabaSecurityJaqAppOfficialVerifyRequest 初始化AlibabaSecurityJaqAppOfficialVerifyAPIRequest对象

func (AlibabaSecurityJaqAppOfficialVerifyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAppOfficialVerifyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAppOfficialVerifyAPIRequest) GetOfficialAppVerifyRequest added in v1.2.0

GetOfficialAppVerifyRequest OfficialAppVerifyRequest Getter

func (AlibabaSecurityJaqAppOfficialVerifyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqAppOfficialVerifyAPIRequest) SetOfficialAppVerifyRequest added in v1.2.0

func (r *AlibabaSecurityJaqAppOfficialVerifyAPIRequest) SetOfficialAppVerifyRequest(_officialAppVerifyRequest *OfficialAppVerifyRequest) error

SetOfficialAppVerifyRequest is OfficialAppVerifyRequest Setter 验证参数

type AlibabaSecurityJaqAppOfficialVerifyAPIResponse

type AlibabaSecurityJaqAppOfficialVerifyAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAppOfficialVerifyAPIResponseModel
}

AlibabaSecurityJaqAppOfficialVerifyAPIResponse 聚安全验证官方应用接口 API返回值 alibaba.security.jaq.app.official.verify

接入用户来查询应用是否为官方应用

type AlibabaSecurityJaqAppOfficialVerifyAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAppOfficialVerifyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_app_official_verify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *OfficialAppVerifyResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqAppOfficialVerifyAPIResponseModel is 聚安全验证官方应用接口 成功返回结果

type AlibabaSecurityJaqAppRiskScanAPIRequest added in v1.2.0

type AlibabaSecurityJaqAppRiskScanAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAppRiskScanAPIRequest 应用风险扫描提交接口 API请求 alibaba.security.jaq.app.risk.scan

提交应用进行风险扫描(含漏洞扫描、恶意代码检测、仿冒监测),扫描完成后可通过对应的查询接口查询扫描结果

func NewAlibabaSecurityJaqAppRiskScanRequest

func NewAlibabaSecurityJaqAppRiskScanRequest() *AlibabaSecurityJaqAppRiskScanAPIRequest

NewAlibabaSecurityJaqAppRiskScanRequest 初始化AlibabaSecurityJaqAppRiskScanAPIRequest对象

func (AlibabaSecurityJaqAppRiskScanAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqAppRiskScanAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAppRiskScanAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqAppRiskScanAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAppRiskScanAPIRequest) GetAppInfo added in v1.2.0

GetAppInfo AppInfo Getter

func (AlibabaSecurityJaqAppRiskScanAPIRequest) GetExtParam added in v1.2.0

GetExtParam ExtParam Getter

func (AlibabaSecurityJaqAppRiskScanAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqAppRiskScanAPIRequest) GetScanTypes added in v1.2.0

GetScanTypes ScanTypes Getter

func (*AlibabaSecurityJaqAppRiskScanAPIRequest) SetAppInfo added in v1.2.0

SetAppInfo is AppInfo Setter 应用信息

func (*AlibabaSecurityJaqAppRiskScanAPIRequest) SetExtParam added in v1.2.0

func (r *AlibabaSecurityJaqAppRiskScanAPIRequest) SetExtParam(_extParam string) error

SetExtParam is ExtParam Setter 额外的信息,根据具体业务定

func (*AlibabaSecurityJaqAppRiskScanAPIRequest) SetScanTypes added in v1.2.0

func (r *AlibabaSecurityJaqAppRiskScanAPIRequest) SetScanTypes(_scanTypes []string) error

SetScanTypes is ScanTypes Setter 扫描类型:vuln-漏洞扫描 malware-恶意代码检测 fake-仿冒监测 plugin-插件扫描 注: dataType为2时 不支持 仿冒监测

type AlibabaSecurityJaqAppRiskScanAPIResponse

type AlibabaSecurityJaqAppRiskScanAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAppRiskScanAPIResponseModel
}

AlibabaSecurityJaqAppRiskScanAPIResponse 应用风险扫描提交接口 API返回值 alibaba.security.jaq.app.risk.scan

提交应用进行风险扫描(含漏洞扫描、恶意代码检测、仿冒监测),扫描完成后可通过对应的查询接口查询扫描结果

type AlibabaSecurityJaqAppRiskScanAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAppRiskScanAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_app_risk_scan_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 扫描任务信息
	Result *TaskInfo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqAppRiskScanAPIResponseModel is 应用风险扫描提交接口 成功返回结果

type AlibabaSecurityJaqAppRiskScanbatchAPIRequest added in v1.2.0

type AlibabaSecurityJaqAppRiskScanbatchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAppRiskScanbatchAPIRequest 应用风险扫描批量提交接口 API请求 alibaba.security.jaq.app.risk.scanbatch

批量提交应用进行风险扫描(含漏洞扫描、恶意代码检测),扫描完成后可通过对应的查询接口查询扫描结果

func NewAlibabaSecurityJaqAppRiskScanbatchRequest

func NewAlibabaSecurityJaqAppRiskScanbatchRequest() *AlibabaSecurityJaqAppRiskScanbatchAPIRequest

NewAlibabaSecurityJaqAppRiskScanbatchRequest 初始化AlibabaSecurityJaqAppRiskScanbatchAPIRequest对象

func (AlibabaSecurityJaqAppRiskScanbatchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAppRiskScanbatchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAppRiskScanbatchAPIRequest) GetAppInfo added in v1.2.0

GetAppInfo AppInfo Getter

func (AlibabaSecurityJaqAppRiskScanbatchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqAppRiskScanbatchAPIRequest) GetScanTypes added in v1.2.0

GetScanTypes ScanTypes Getter

func (*AlibabaSecurityJaqAppRiskScanbatchAPIRequest) SetAppInfo added in v1.2.0

SetAppInfo is AppInfo Setter APP信息

func (*AlibabaSecurityJaqAppRiskScanbatchAPIRequest) SetScanTypes added in v1.2.0

func (r *AlibabaSecurityJaqAppRiskScanbatchAPIRequest) SetScanTypes(_scanTypes []string) error

SetScanTypes is ScanTypes Setter 扫描类型

type AlibabaSecurityJaqAppRiskScanbatchAPIResponse

type AlibabaSecurityJaqAppRiskScanbatchAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAppRiskScanbatchAPIResponseModel
}

AlibabaSecurityJaqAppRiskScanbatchAPIResponse 应用风险扫描批量提交接口 API返回值 alibaba.security.jaq.app.risk.scanbatch

批量提交应用进行风险扫描(含漏洞扫描、恶意代码检测),扫描完成后可通过对应的查询接口查询扫描结果

type AlibabaSecurityJaqAppRiskScanbatchAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAppRiskScanbatchAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_app_risk_scanbatch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 扫描任务信息
	Result *TaskInfo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqAppRiskScanbatchAPIResponseModel is 应用风险扫描批量提交接口 成功返回结果

type AlibabaSecurityJaqAppRiskdetailGetAPIRequest added in v1.2.0

type AlibabaSecurityJaqAppRiskdetailGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAppRiskdetailGetAPIRequest 应用风险详细信息查询接口 API请求 alibaba.security.jaq.app.riskdetail.get

用户通过alibaba.security.jaq.app.risk.scan接口提交应用进行风险扫描后,用此接口获取风险详细信息,包含漏洞列表、恶意代码列表、仿冒应用列表等信息

func NewAlibabaSecurityJaqAppRiskdetailGetRequest

func NewAlibabaSecurityJaqAppRiskdetailGetRequest() *AlibabaSecurityJaqAppRiskdetailGetAPIRequest

NewAlibabaSecurityJaqAppRiskdetailGetRequest 初始化AlibabaSecurityJaqAppRiskdetailGetAPIRequest对象

func (AlibabaSecurityJaqAppRiskdetailGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAppRiskdetailGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAppRiskdetailGetAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlibabaSecurityJaqAppRiskdetailGetAPIRequest) GetLocale added in v1.2.0

GetLocale Locale Getter

func (AlibabaSecurityJaqAppRiskdetailGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqAppRiskdetailGetAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 任务唯一标识

func (*AlibabaSecurityJaqAppRiskdetailGetAPIRequest) SetLocale added in v1.2.0

SetLocale is Locale Setter 本地化语言信息

type AlibabaSecurityJaqAppRiskdetailGetAPIResponse

type AlibabaSecurityJaqAppRiskdetailGetAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAppRiskdetailGetAPIResponseModel
}

AlibabaSecurityJaqAppRiskdetailGetAPIResponse 应用风险详细信息查询接口 API返回值 alibaba.security.jaq.app.riskdetail.get

用户通过alibaba.security.jaq.app.risk.scan接口提交应用进行风险扫描后,用此接口获取风险详细信息,包含漏洞列表、恶意代码列表、仿冒应用列表等信息

type AlibabaSecurityJaqAppRiskdetailGetAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAppRiskdetailGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_app_riskdetail_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 风险详情
	Result *RiskDetail `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqAppRiskdetailGetAPIResponseModel is 应用风险详细信息查询接口 成功返回结果

type AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest added in v1.2.0

type AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest 应用风险详细信息批量查询接口 API请求 alibaba.security.jaq.app.riskdetailbatch.get

用户通过alibaba.security.jaq.app.risk.scanbatch接口提交应用进行风险批量扫描后,用此接口批量获取风险详细信息,包含漏洞列表、恶意代码列表、仿冒应用列表等信息

func NewAlibabaSecurityJaqAppRiskdetailbatchGetRequest

func NewAlibabaSecurityJaqAppRiskdetailbatchGetRequest() *AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest

NewAlibabaSecurityJaqAppRiskdetailbatchGetRequest 初始化AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest对象

func (AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest) GetLocale added in v1.2.0

GetLocale Locale Getter

func (AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 任务唯一标识

func (*AlibabaSecurityJaqAppRiskdetailbatchGetAPIRequest) SetLocale added in v1.2.0

SetLocale is Locale Setter 本地化语言信息,用于指定返回结果内容所使用的语言(默认为zh_CN,目前仅支持zh_CN)

type AlibabaSecurityJaqAppRiskdetailbatchGetAPIResponse

type AlibabaSecurityJaqAppRiskdetailbatchGetAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAppRiskdetailbatchGetAPIResponseModel
}

AlibabaSecurityJaqAppRiskdetailbatchGetAPIResponse 应用风险详细信息批量查询接口 API返回值 alibaba.security.jaq.app.riskdetailbatch.get

用户通过alibaba.security.jaq.app.risk.scanbatch接口提交应用进行风险批量扫描后,用此接口批量获取风险详细信息,包含漏洞列表、恶意代码列表、仿冒应用列表等信息

type AlibabaSecurityJaqAppRiskdetailbatchGetAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAppRiskdetailbatchGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_app_riskdetailbatch_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 批量扫描风险详情
	Result *RiskDetailBatch `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqAppRiskdetailbatchGetAPIResponseModel is 应用风险详细信息批量查询接口 成功返回结果

type AlibabaSecurityJaqAppRisksummaryGetAPIRequest added in v1.2.0

type AlibabaSecurityJaqAppRisksummaryGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAppRisksummaryGetAPIRequest 应用风险概要信息查询接口 API请求 alibaba.security.jaq.app.risksummary.get

用户通过alibaba.security.jaq.app.risk.scan接口提交应用进行风险扫描后,用此接口获取风险概要信息,本接口不返回风险详细信息

func NewAlibabaSecurityJaqAppRisksummaryGetRequest

func NewAlibabaSecurityJaqAppRisksummaryGetRequest() *AlibabaSecurityJaqAppRisksummaryGetAPIRequest

NewAlibabaSecurityJaqAppRisksummaryGetRequest 初始化AlibabaSecurityJaqAppRisksummaryGetAPIRequest对象

func (AlibabaSecurityJaqAppRisksummaryGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAppRisksummaryGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAppRisksummaryGetAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlibabaSecurityJaqAppRisksummaryGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqAppRisksummaryGetAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 任务唯一标识

type AlibabaSecurityJaqAppRisksummaryGetAPIResponse

type AlibabaSecurityJaqAppRisksummaryGetAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAppRisksummaryGetAPIResponseModel
}

AlibabaSecurityJaqAppRisksummaryGetAPIResponse 应用风险概要信息查询接口 API返回值 alibaba.security.jaq.app.risksummary.get

用户通过alibaba.security.jaq.app.risk.scan接口提交应用进行风险扫描后,用此接口获取风险概要信息,本接口不返回风险详细信息

type AlibabaSecurityJaqAppRisksummaryGetAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAppRisksummaryGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_app_risksummary_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 应用扫描概要信息
	Result *RiskSummary `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqAppRisksummaryGetAPIResponseModel is 应用风险概要信息查询接口 成功返回结果

type AlibabaSecurityJaqAppShieldAPIRequest added in v1.2.0

type AlibabaSecurityJaqAppShieldAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAppShieldAPIRequest 应用加固接口 API请求 alibaba.security.jaq.app.shield

提交应用进行应用加固,加固后需通过alibaba.security.jaq.app.shieldresult.get接口查询加固结果

func NewAlibabaSecurityJaqAppShieldRequest

func NewAlibabaSecurityJaqAppShieldRequest() *AlibabaSecurityJaqAppShieldAPIRequest

NewAlibabaSecurityJaqAppShieldRequest 初始化AlibabaSecurityJaqAppShieldAPIRequest对象

func (AlibabaSecurityJaqAppShieldAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqAppShieldAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAppShieldAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqAppShieldAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAppShieldAPIRequest) GetAppInfo added in v1.2.0

GetAppInfo AppInfo Getter

func (AlibabaSecurityJaqAppShieldAPIRequest) GetChannel added in v1.2.0

GetChannel Channel Getter

func (AlibabaSecurityJaqAppShieldAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqAppShieldAPIRequest) SetAppInfo added in v1.2.0

func (r *AlibabaSecurityJaqAppShieldAPIRequest) SetAppInfo(_appInfo *ScanAppInfo) error

SetAppInfo is AppInfo Setter 待加固的应用信息

func (*AlibabaSecurityJaqAppShieldAPIRequest) SetChannel added in v1.2.0

SetChannel is Channel Setter 渠道列表,多渠道加固时填写

type AlibabaSecurityJaqAppShieldAPIResponse

type AlibabaSecurityJaqAppShieldAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAppShieldAPIResponseModel
}

AlibabaSecurityJaqAppShieldAPIResponse 应用加固接口 API返回值 alibaba.security.jaq.app.shield

提交应用进行应用加固,加固后需通过alibaba.security.jaq.app.shieldresult.get接口查询加固结果

type AlibabaSecurityJaqAppShieldAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAppShieldAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_app_shield_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 加固任务信息
	Result *ScanTaskInfo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqAppShieldAPIResponseModel is 应用加固接口 成功返回结果

type AlibabaSecurityJaqAppShieldresultGetAPIRequest added in v1.2.0

type AlibabaSecurityJaqAppShieldresultGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqAppShieldresultGetAPIRequest 用户查询加固结果 API请求 alibaba.security.jaq.app.shieldresult.get

用户通过alibaba.security.jaq.app.shield接口提交应用加固后,通过该接口查询加固结果,下载加固包

func NewAlibabaSecurityJaqAppShieldresultGetRequest

func NewAlibabaSecurityJaqAppShieldresultGetRequest() *AlibabaSecurityJaqAppShieldresultGetAPIRequest

NewAlibabaSecurityJaqAppShieldresultGetRequest 初始化AlibabaSecurityJaqAppShieldresultGetAPIRequest对象

func (AlibabaSecurityJaqAppShieldresultGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqAppShieldresultGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqAppShieldresultGetAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlibabaSecurityJaqAppShieldresultGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqAppShieldresultGetAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 任务唯一标识

type AlibabaSecurityJaqAppShieldresultGetAPIResponse

type AlibabaSecurityJaqAppShieldresultGetAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqAppShieldresultGetAPIResponseModel
}

AlibabaSecurityJaqAppShieldresultGetAPIResponse 用户查询加固结果 API返回值 alibaba.security.jaq.app.shieldresult.get

用户通过alibaba.security.jaq.app.shield接口提交应用加固后,通过该接口查询加固结果,下载加固包

type AlibabaSecurityJaqAppShieldresultGetAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqAppShieldresultGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_app_shieldresult_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 应用加固结果
	Result *ShieldResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqAppShieldresultGetAPIResponseModel is 用户查询加固结果 成功返回结果

type AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest added in v1.2.0

type AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest 获取活动保护结果 API请求 alibaba.security.jaq.campaignprevention.result.fetch

获取活动保护结果

func NewAlibabaSecurityJaqCampaignpreventionResultFetchRequest

func NewAlibabaSecurityJaqCampaignpreventionResultFetchRequest() *AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest

NewAlibabaSecurityJaqCampaignpreventionResultFetchRequest 初始化AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest对象

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetActivityDescription added in v1.2.0

GetActivityDescription ActivityDescription Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetActivityId added in v1.2.0

GetActivityId ActivityId Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetAddress added in v1.2.0

GetAddress Address Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetAgent added in v1.2.0

GetAgent Agent Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetBankCardNumber added in v1.2.0

GetBankCardNumber BankCardNumber Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetCompanyName added in v1.2.0

GetCompanyName CompanyName Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetCookie added in v1.2.0

GetCookie Cookie Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetCurrentUrl added in v1.2.0

GetCurrentUrl CurrentUrl Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetEmail added in v1.2.0

GetEmail Email Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetExtendData added in v1.2.0

GetExtendData ExtendData Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetIdNumber added in v1.2.0

GetIdNumber IdNumber Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetIdType added in v1.2.0

GetIdType IdType Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetIp added in v1.2.0

GetIp Ip Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetJsToken added in v1.2.0

GetJsToken JsToken Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetMacAddress added in v1.2.0

GetMacAddress MacAddress Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetPhoneNumber added in v1.2.0

GetPhoneNumber PhoneNumber Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetPrize added in v1.2.0

GetPrize Prize Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetPrizeType added in v1.2.0

GetPrizeType PrizeType Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetProtocolVersion added in v1.2.0

GetProtocolVersion ProtocolVersion Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetReferer added in v1.2.0

GetReferer Referer Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetRegisterDate added in v1.2.0

GetRegisterDate RegisterDate Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetRegisterIp added in v1.2.0

GetRegisterIp RegisterIp Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetSdkToken added in v1.2.0

GetSdkToken SdkToken Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetSessionId added in v1.2.0

GetSessionId SessionId Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetSource added in v1.2.0

GetSource Source Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) GetUserName added in v1.2.0

GetUserName UserName Getter

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetActivityDescription added in v1.2.0

func (r *AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetActivityDescription(_activityDescription string) error

SetActivityDescription is ActivityDescription Setter 活动描述,场景为活动时提供,活动基本规则描述,以评估活动流程的风险

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetActivityId added in v1.2.0

SetActivityId is ActivityId Setter 活动编号

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetAddress added in v1.2.0

SetAddress is Address Setter 账号绑定的注册的地址

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetAgent added in v1.2.0

SetAgent is Agent Setter 发送HTTP请求的代理

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetBankCardNumber added in v1.2.0

func (r *AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetBankCardNumber(_bankCardNumber string) error

SetBankCardNumber is BankCardNumber Setter 账号绑定的银行卡号

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetCompanyName added in v1.2.0

SetCompanyName is CompanyName Setter 账号绑定的公司名字

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetCookie added in v1.2.0

SetCookie is Cookie Setter Cookie

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetCurrentUrl added in v1.2.0

SetCurrentUrl is CurrentUrl Setter 当前操作的页面URL。Source为1,2时,该参数必选

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetEmail added in v1.2.0

SetEmail is Email Setter 邮箱地址。【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetExtendData added in v1.2.0

SetExtendData is ExtendData Setter 扩展字段。json格式的字符串,根据具体情况而定 。

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetIdNumber added in v1.2.0

SetIdNumber is IdNumber Setter 账号绑定的身份证号

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetIdType added in v1.2.0

SetIdType is IdType Setter 有user_id时候必填。1:阿里HID;2:用户自有ID;3:openId; 4:其它。【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetIp added in v1.2.0

SetIp is Ip Setter 登录时候的IP地址

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetJsToken added in v1.2.0

SetJsToken is JsToken Setter 接入JS后获取的token

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetMacAddress added in v1.2.0

SetMacAddress is MacAddress Setter 硬件信息

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetPhoneNumber added in v1.2.0

SetPhoneNumber is PhoneNumber Setter 电话号码。手机号码的格式为国家码-手机号的格式,如中国手机号86-13088889999或美国手机号001-9096185426,如果不加国家码都视为中国手机号码【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetPrize added in v1.2.0

SetPrize is Prize Setter 活动奖品面值,场景为活动时提供,活动抽中的价值

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetPrizeType added in v1.2.0

SetPrizeType is PrizeType Setter 活动奖品类型。1:事物;2:红包;3:优惠券;4:购物券;5:积分;6:代币;0:其它

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetProtocolVersion added in v1.2.0

func (r *AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetProtocolVersion(_protocolVersion string) error

SetProtocolVersion is ProtocolVersion Setter 协议版本号。现在的值是1.0

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetReferer added in v1.2.0

SetReferer is Referer Setter 上一跳信息

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetRegisterDate added in v1.2.0

func (r *AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetRegisterDate(_registerDate int64) error

SetRegisterDate is RegisterDate Setter 注册的时间(秒)

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetRegisterIp added in v1.2.0

SetRegisterIp is RegisterIp Setter 注册时候的ip

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetSdkToken added in v1.2.0

SetSdkToken is SdkToken Setter 接入无线保镖安全组件后从服务端获取的token

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetSessionId added in v1.2.0

SetSessionId is SessionId Setter Session id

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetSource added in v1.2.0

SetSource is Source Setter 登录来源。1:PC网页;2:移动网页;3:APP;4:其它

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetUserId added in v1.2.0

SetUserId is UserId Setter 账号的全局唯一标识。【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqCampaignpreventionResultFetchAPIRequest) SetUserName added in v1.2.0

SetUserName is UserName Setter 账号绑定的呢称

type AlibabaSecurityJaqCampaignpreventionResultFetchAPIResponse

type AlibabaSecurityJaqCampaignpreventionResultFetchAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqCampaignpreventionResultFetchAPIResponseModel
}

AlibabaSecurityJaqCampaignpreventionResultFetchAPIResponse 获取活动保护结果 API返回值 alibaba.security.jaq.campaignprevention.result.fetch

获取活动保护结果

type AlibabaSecurityJaqCampaignpreventionResultFetchAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqCampaignpreventionResultFetchAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_campaignprevention_result_fetch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 账号风控返回结果
	JaqAccountRiskResult *JaqAccountRiskResult `json:"jaq_account_risk_result,omitempty" xml:"jaq_account_risk_result,omitempty"`
}

AlibabaSecurityJaqCampaignpreventionResultFetchAPIResponseModel is 获取活动保护结果 成功返回结果

type AlibabaSecurityJaqCaptchaSendAPIRequest added in v1.2.0

type AlibabaSecurityJaqCaptchaSendAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqCaptchaSendAPIRequest 聚安全安全验证发起接口 API请求 alibaba.security.jaq.captcha.send

聚安全安全验证发起

func NewAlibabaSecurityJaqCaptchaSendRequest

func NewAlibabaSecurityJaqCaptchaSendRequest() *AlibabaSecurityJaqCaptchaSendAPIRequest

NewAlibabaSecurityJaqCaptchaSendRequest 初始化AlibabaSecurityJaqCaptchaSendAPIRequest对象

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqCaptchaSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqCaptchaSendAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetCaptchaType added in v1.2.0

GetCaptchaType CaptchaType Getter

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetExtendData added in v1.2.0

GetExtendData ExtendData Getter

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetInfoToken added in v1.2.0

GetInfoToken InfoToken Getter

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetProtocolVersion added in v1.2.0

func (r AlibabaSecurityJaqCaptchaSendAPIRequest) GetProtocolVersion() string

GetProtocolVersion ProtocolVersion Getter

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetRsign added in v1.2.0

GetRsign Rsign Getter

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetRtkenIndex added in v1.2.0

GetRtkenIndex RtkenIndex Getter

func (AlibabaSecurityJaqCaptchaSendAPIRequest) GetUtoken added in v1.2.0

GetUtoken Utoken Getter

func (*AlibabaSecurityJaqCaptchaSendAPIRequest) SetCaptchaType added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaSendAPIRequest) SetCaptchaType(_captchaType int64) error

SetCaptchaType is CaptchaType Setter 验证码发送渠道类型 1-短信 3-邮件

func (*AlibabaSecurityJaqCaptchaSendAPIRequest) SetExtendData added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaSendAPIRequest) SetExtendData(_extendData string) error

SetExtendData is ExtendData Setter 扩展字段,格式为JSON字符串,用于传递“滚小球”等验证方式所需的额外入参,例如屏幕尺寸等,请参考示例

func (*AlibabaSecurityJaqCaptchaSendAPIRequest) SetInfoToken added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaSendAPIRequest) SetInfoToken(_infoToken string) error

SetInfoToken is InfoToken Setter 风险识别接口返回的信息口令

func (*AlibabaSecurityJaqCaptchaSendAPIRequest) SetProtocolVersion added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaSendAPIRequest) SetProtocolVersion(_protocolVersion string) error

SetProtocolVersion is ProtocolVersion Setter 协议版本号

func (*AlibabaSecurityJaqCaptchaSendAPIRequest) SetRsign added in v1.2.0

SetRsign is Rsign Setter 软token签名

func (*AlibabaSecurityJaqCaptchaSendAPIRequest) SetRtkenIndex added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaSendAPIRequest) SetRtkenIndex(_rtkenIndex string) error

SetRtkenIndex is RtkenIndex Setter 软token索引

func (*AlibabaSecurityJaqCaptchaSendAPIRequest) SetUtoken added in v1.2.0

SetUtoken is Utoken Setter UMID token

type AlibabaSecurityJaqCaptchaSendAPIResponse

type AlibabaSecurityJaqCaptchaSendAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqCaptchaSendAPIResponseModel
}

AlibabaSecurityJaqCaptchaSendAPIResponse 聚安全安全验证发起接口 API返回值 alibaba.security.jaq.captcha.send

聚安全安全验证发起

type AlibabaSecurityJaqCaptchaSendAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqCaptchaSendAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_captcha_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参结构体
	Data *JaqSendCaptchaResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqCaptchaSendAPIResponseModel is 聚安全安全验证发起接口 成功返回结果

type AlibabaSecurityJaqCaptchaVerifyAPIRequest added in v1.2.0

type AlibabaSecurityJaqCaptchaVerifyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqCaptchaVerifyAPIRequest 聚安全安全验证检查接口 API请求 alibaba.security.jaq.captcha.verify

聚安全安全验证检查

func NewAlibabaSecurityJaqCaptchaVerifyRequest

func NewAlibabaSecurityJaqCaptchaVerifyRequest() *AlibabaSecurityJaqCaptchaVerifyAPIRequest

NewAlibabaSecurityJaqCaptchaVerifyRequest 初始化AlibabaSecurityJaqCaptchaVerifyAPIRequest对象

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetCaptchaType added in v1.2.0

GetCaptchaType CaptchaType Getter

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetExtendData added in v1.2.0

GetExtendData ExtendData Getter

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetInfoToken added in v1.2.0

GetInfoToken InfoToken Getter

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetProtocolVersion added in v1.2.0

func (r AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetProtocolVersion() string

GetProtocolVersion ProtocolVersion Getter

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetRsign added in v1.2.0

GetRsign Rsign Getter

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetRtkenIndex added in v1.2.0

GetRtkenIndex RtkenIndex Getter

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetSessionId added in v1.2.0

GetSessionId SessionId Getter

func (AlibabaSecurityJaqCaptchaVerifyAPIRequest) GetUtoken added in v1.2.0

GetUtoken Utoken Getter

func (*AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetCaptchaType added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetCaptchaType(_captchaType int64) error

SetCaptchaType is CaptchaType Setter 验证码发送渠道类型 1-短信 2-语音 3-邮件

func (*AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetExtendData added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetExtendData(_extendData string) error

SetExtendData is ExtendData Setter 扩展字段,格式为JSON字符串,用于传递“短信验证”等验证方式所需的额外入参,例如用户输入的验证码等,格式及JSON字段key定义请参考示例

func (*AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetInfoToken added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetInfoToken(_infoToken string) error

SetInfoToken is InfoToken Setter 风险识别接口返回的信息口令

func (*AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetProtocolVersion added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetProtocolVersion(_protocolVersion string) error

SetProtocolVersion is ProtocolVersion Setter 协议版本号

func (*AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetRsign added in v1.2.0

SetRsign is Rsign Setter 软token签名

func (*AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetRtkenIndex added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetRtkenIndex(_rtkenIndex string) error

SetRtkenIndex is RtkenIndex Setter 软token索引

func (*AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetSessionId added in v1.2.0

func (r *AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetSessionId(_sessionId string) error

SetSessionId is SessionId Setter 验证码会话ID

func (*AlibabaSecurityJaqCaptchaVerifyAPIRequest) SetUtoken added in v1.2.0

SetUtoken is Utoken Setter UMID token

type AlibabaSecurityJaqCaptchaVerifyAPIResponse

type AlibabaSecurityJaqCaptchaVerifyAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqCaptchaVerifyAPIResponseModel
}

AlibabaSecurityJaqCaptchaVerifyAPIResponse 聚安全安全验证检查接口 API返回值 alibaba.security.jaq.captcha.verify

聚安全安全验证检查

type AlibabaSecurityJaqCaptchaVerifyAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqCaptchaVerifyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_captcha_verify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参结构体
	Data *JaqVerifyCaptchaResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqCaptchaVerifyAPIResponseModel is 聚安全安全验证检查接口 成功返回结果

type AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest added in v1.2.0

type AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest 聚安全安全验证检查结果获取接口 API请求 alibaba.security.jaq.captcha.verify.result.fetch

获取二次验证的结果

func NewAlibabaSecurityJaqCaptchaVerifyResultFetchRequest

func NewAlibabaSecurityJaqCaptchaVerifyResultFetchRequest() *AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest

NewAlibabaSecurityJaqCaptchaVerifyResultFetchRequest 初始化AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest对象

func (AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest) GetSessionId added in v1.2.0

GetSessionId SessionId Getter

func (*AlibabaSecurityJaqCaptchaVerifyResultFetchAPIRequest) SetSessionId added in v1.2.0

SetSessionId is SessionId Setter 二次验证获取验证检查结果所需的seesionId

type AlibabaSecurityJaqCaptchaVerifyResultFetchAPIResponse

type AlibabaSecurityJaqCaptchaVerifyResultFetchAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqCaptchaVerifyResultFetchAPIResponseModel
}

AlibabaSecurityJaqCaptchaVerifyResultFetchAPIResponse 聚安全安全验证检查结果获取接口 API返回值 alibaba.security.jaq.captcha.verify.result.fetch

获取二次验证的结果

type AlibabaSecurityJaqCaptchaVerifyResultFetchAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqCaptchaVerifyResultFetchAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_captcha_verify_result_fetch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 验证检查结果结构体
	Data *JaqSecondCheckResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqCaptchaVerifyResultFetchAPIResponseModel is 聚安全安全验证检查结果获取接口 成功返回结果

type AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest added in v1.2.0

type AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest 获取登录保护结果 API请求 alibaba.security.jaq.loginprevention.result.fetch

获取登录保护结果

func NewAlibabaSecurityJaqLoginpreventionResultFetchRequest

func NewAlibabaSecurityJaqLoginpreventionResultFetchRequest() *AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest

NewAlibabaSecurityJaqLoginpreventionResultFetchRequest 初始化AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest对象

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetAccountExist added in v1.2.0

GetAccountExist AccountExist Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetAddress added in v1.2.0

GetAddress Address Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetAgent added in v1.2.0

GetAgent Agent Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetBankCardNumber added in v1.2.0

GetBankCardNumber BankCardNumber Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetCompanyName added in v1.2.0

GetCompanyName CompanyName Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetCookie added in v1.2.0

GetCookie Cookie Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetCurrentUrl added in v1.2.0

GetCurrentUrl CurrentUrl Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetEmail added in v1.2.0

GetEmail Email Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetExtendData added in v1.2.0

GetExtendData ExtendData Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetIdNumber added in v1.2.0

GetIdNumber IdNumber Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetIdType added in v1.2.0

GetIdType IdType Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetIp added in v1.2.0

GetIp Ip Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetJsToken added in v1.2.0

GetJsToken JsToken Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetLoginType added in v1.2.0

GetLoginType LoginType Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetMacAddress added in v1.2.0

GetMacAddress MacAddress Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetPasswordCorrect added in v1.2.0

GetPasswordCorrect PasswordCorrect Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetPasswordHash added in v1.2.0

GetPasswordHash PasswordHash Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetPhoneNumber added in v1.2.0

GetPhoneNumber PhoneNumber Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetProtocolVersion added in v1.2.0

GetProtocolVersion ProtocolVersion Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetReferer added in v1.2.0

GetReferer Referer Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetRegisterDate added in v1.2.0

GetRegisterDate RegisterDate Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetRegisterIp added in v1.2.0

GetRegisterIp RegisterIp Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetSdkToken added in v1.2.0

GetSdkToken SdkToken Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetSessionId added in v1.2.0

GetSessionId SessionId Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetSource added in v1.2.0

GetSource Source Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) GetUserName added in v1.2.0

GetUserName UserName Getter

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetAccountExist added in v1.2.0

func (r *AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetAccountExist(_accountExist int64) error

SetAccountExist is AccountExist Setter 账号在系统里面是否存在。0:不存在;1:存在

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetAddress added in v1.2.0

SetAddress is Address Setter 账号绑定的注册的地址

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetAgent added in v1.2.0

SetAgent is Agent Setter 发送HTTP请求的代理

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetBankCardNumber added in v1.2.0

func (r *AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetBankCardNumber(_bankCardNumber string) error

SetBankCardNumber is BankCardNumber Setter 账号绑定的银行卡号

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetCompanyName added in v1.2.0

SetCompanyName is CompanyName Setter 账号绑定的公司名字

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetCookie added in v1.2.0

SetCookie is Cookie Setter Cookie

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetCurrentUrl added in v1.2.0

SetCurrentUrl is CurrentUrl Setter 当前操作的页面URL。Source为1,2时,该参数必选

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetEmail added in v1.2.0

SetEmail is Email Setter 关联账号的email。【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetExtendData added in v1.2.0

SetExtendData is ExtendData Setter 扩展字段。json格式的字符串,根据具体情况而定 。

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetIdNumber added in v1.2.0

SetIdNumber is IdNumber Setter 账号绑定的身份证号

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetIdType added in v1.2.0

SetIdType is IdType Setter 账号的全局唯一标识,为了提高准确率,建议带上该字段。【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetIp added in v1.2.0

SetIp is Ip Setter 登录时候的IP地址

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetJsToken added in v1.2.0

SetJsToken is JsToken Setter 接入JS后获取的token

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetLoginType added in v1.2.0

SetLoginType is LoginType Setter 登录场景。1:账密登陆;2:扫码登录;3:短信验证码登录;0:其它

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetMacAddress added in v1.2.0

SetMacAddress is MacAddress Setter 硬件信息

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetPasswordCorrect added in v1.2.0

func (r *AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetPasswordCorrect(_passwordCorrect int64) error

SetPasswordCorrect is PasswordCorrect Setter 密码是否正确。0:不正确;1:正确

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetPasswordHash added in v1.2.0

func (r *AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetPasswordHash(_passwordHash string) error

SetPasswordHash is PasswordHash Setter 将密码加盐hash后传递,用于弱密码检测

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetPhoneNumber added in v1.2.0

SetPhoneNumber is PhoneNumber Setter 关联账号的手机号。手机号码的格式为国家码-手机号的格式,如中国手机号86-13088889999或美国手机号001-9096185426,如果不加国家码都视为中国手机号码【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetProtocolVersion added in v1.2.0

func (r *AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetProtocolVersion(_protocolVersion string) error

SetProtocolVersion is ProtocolVersion Setter 协议版本号。现在的值是1.0

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetReferer added in v1.2.0

SetReferer is Referer Setter 上一跳信息

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetRegisterDate added in v1.2.0

func (r *AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetRegisterDate(_registerDate int64) error

SetRegisterDate is RegisterDate Setter 注册的时间(秒)

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetRegisterIp added in v1.2.0

SetRegisterIp is RegisterIp Setter 注册时候的ip

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetSdkToken added in v1.2.0

SetSdkToken is SdkToken Setter 接入无线保镖安全组件后从服务端获取的token

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetSessionId added in v1.2.0

SetSessionId is SessionId Setter Session id

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetSource added in v1.2.0

SetSource is Source Setter 登录来源。1:PC网页;2:移动网页;3:APP;4:其它

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetUserId added in v1.2.0

SetUserId is UserId Setter 账号的全局唯一标识,为了提高准确率,建议带上该字段。【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqLoginpreventionResultFetchAPIRequest) SetUserName added in v1.2.0

SetUserName is UserName Setter 账号绑定的呢称

type AlibabaSecurityJaqLoginpreventionResultFetchAPIResponse

type AlibabaSecurityJaqLoginpreventionResultFetchAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqLoginpreventionResultFetchAPIResponseModel
}

AlibabaSecurityJaqLoginpreventionResultFetchAPIResponse 获取登录保护结果 API返回值 alibaba.security.jaq.loginprevention.result.fetch

获取登录保护结果

type AlibabaSecurityJaqLoginpreventionResultFetchAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqLoginpreventionResultFetchAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_loginprevention_result_fetch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 账号风控返回结果
	JaqAccountRiskResult *JaqAccountRiskResult `json:"jaq_account_risk_result,omitempty" xml:"jaq_account_risk_result,omitempty"`
}

AlibabaSecurityJaqLoginpreventionResultFetchAPIResponseModel is 获取登录保护结果 成功返回结果

type AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest added in v1.2.0

type AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest 聚安全获取异步图文识别结果接口 API请求 alibaba.security.jaq.ocr.image.async.detect.results.fetch

获取异步图像字符识别结果接口根据图像检测接口返回taskid来获取对应图像的检测结果

func NewAlibabaSecurityJaqOcrImageAsyncDetectResultsFetchRequest

func NewAlibabaSecurityJaqOcrImageAsyncDetectResultsFetchRequest() *AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest

NewAlibabaSecurityJaqOcrImageAsyncDetectResultsFetchRequest 初始化AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest对象

func (AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest) GetTaskIds added in v1.2.0

GetTaskIds TaskIds Getter

func (*AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIRequest) SetTaskIds added in v1.2.0

SetTaskIds is TaskIds Setter 值为图像检测接口异步调用时返回的图片task_id

type AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIResponse

type AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIResponseModel
}

AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIResponse 聚安全获取异步图文识别结果接口 API返回值 alibaba.security.jaq.ocr.image.async.detect.results.fetch

获取异步图像字符识别结果接口根据图像检测接口返回taskid来获取对应图像的检测结果

type AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_ocr_image_async_detect_results_fetch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参结构体
	Data *JaqImageDetectResultCollection `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqOcrImageAsyncDetectResultsFetchAPIResponseModel is 聚安全获取异步图文识别结果接口 成功返回结果

type AlibabaSecurityJaqOcrImageSyncDetectAPIRequest added in v1.2.0

type AlibabaSecurityJaqOcrImageSyncDetectAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqOcrImageSyncDetectAPIRequest 聚安全图文识别同步检测接口 API请求 alibaba.security.jaq.ocr.image.sync.detect

图像字符识别同步检测接口

func NewAlibabaSecurityJaqOcrImageSyncDetectRequest

func NewAlibabaSecurityJaqOcrImageSyncDetectRequest() *AlibabaSecurityJaqOcrImageSyncDetectAPIRequest

NewAlibabaSecurityJaqOcrImageSyncDetectRequest 初始化AlibabaSecurityJaqOcrImageSyncDetectAPIRequest对象

func (AlibabaSecurityJaqOcrImageSyncDetectAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqOcrImageSyncDetectAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqOcrImageSyncDetectAPIRequest) GetImageUrl added in v1.2.0

GetImageUrl ImageUrl Getter

func (AlibabaSecurityJaqOcrImageSyncDetectAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqOcrImageSyncDetectAPIRequest) SetImageUrl added in v1.2.0

SetImageUrl is ImageUrl Setter 待检测图像链接

type AlibabaSecurityJaqOcrImageSyncDetectAPIResponse

type AlibabaSecurityJaqOcrImageSyncDetectAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqOcrImageSyncDetectAPIResponseModel
}

AlibabaSecurityJaqOcrImageSyncDetectAPIResponse 聚安全图文识别同步检测接口 API返回值 alibaba.security.jaq.ocr.image.sync.detect

图像字符识别同步检测接口

type AlibabaSecurityJaqOcrImageSyncDetectAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqOcrImageSyncDetectAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_ocr_image_sync_detect_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参结构体
	Data *JaqOcrImageDetectResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqOcrImageSyncDetectAPIResponseModel is 聚安全图文识别同步检测接口 成功返回结果

type AlibabaSecurityJaqPornImageSyncDetectAPIRequest added in v1.2.0

type AlibabaSecurityJaqPornImageSyncDetectAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqPornImageSyncDetectAPIRequest 聚安全智能鉴黄同步检测接口 API请求 alibaba.security.jaq.porn.image.sync.detect

同步黄图图像检测接口

func NewAlibabaSecurityJaqPornImageSyncDetectRequest

func NewAlibabaSecurityJaqPornImageSyncDetectRequest() *AlibabaSecurityJaqPornImageSyncDetectAPIRequest

NewAlibabaSecurityJaqPornImageSyncDetectRequest 初始化AlibabaSecurityJaqPornImageSyncDetectAPIRequest对象

func (AlibabaSecurityJaqPornImageSyncDetectAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqPornImageSyncDetectAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqPornImageSyncDetectAPIRequest) GetImageUrl added in v1.2.0

GetImageUrl ImageUrl Getter

func (AlibabaSecurityJaqPornImageSyncDetectAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqPornImageSyncDetectAPIRequest) SetImageUrl added in v1.2.0

SetImageUrl is ImageUrl Setter 待检测图片链接

type AlibabaSecurityJaqPornImageSyncDetectAPIResponse

type AlibabaSecurityJaqPornImageSyncDetectAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqPornImageSyncDetectAPIResponseModel
}

AlibabaSecurityJaqPornImageSyncDetectAPIResponse 聚安全智能鉴黄同步检测接口 API返回值 alibaba.security.jaq.porn.image.sync.detect

同步黄图图像检测接口

type AlibabaSecurityJaqPornImageSyncDetectAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqPornImageSyncDetectAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_porn_image_sync_detect_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参结构体
	Data *JaqPornImageDetectResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqPornImageSyncDetectAPIResponseModel is 聚安全智能鉴黄同步检测接口 成功返回结果

type AlibabaSecurityJaqResourceFetchAPIRequest added in v1.2.0

type AlibabaSecurityJaqResourceFetchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqResourceFetchAPIRequest 获取资源文件 API请求 alibaba.security.jaq.resource.fetch

在前向化验证流程中提供资源文件服务

func NewAlibabaSecurityJaqResourceFetchRequest

func NewAlibabaSecurityJaqResourceFetchRequest() *AlibabaSecurityJaqResourceFetchAPIRequest

NewAlibabaSecurityJaqResourceFetchRequest 初始化AlibabaSecurityJaqResourceFetchAPIRequest对象

func (AlibabaSecurityJaqResourceFetchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqResourceFetchAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqResourceFetchAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqResourceFetchAPIRequest) GetDeviceType added in v1.2.0

GetDeviceType DeviceType Getter

func (AlibabaSecurityJaqResourceFetchAPIRequest) GetDpi added in v1.2.0

GetDpi Dpi Getter

func (AlibabaSecurityJaqResourceFetchAPIRequest) GetLang added in v1.2.0

GetLang Lang Getter

func (AlibabaSecurityJaqResourceFetchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqResourceFetchAPIRequest) SetDeviceType added in v1.2.0

func (r *AlibabaSecurityJaqResourceFetchAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 设备类型可能值有:android ios wp

func (*AlibabaSecurityJaqResourceFetchAPIRequest) SetDpi added in v1.2.0

SetDpi is Dpi Setter 分辨率

func (*AlibabaSecurityJaqResourceFetchAPIRequest) SetLang added in v1.2.0

SetLang is Lang Setter 语言类型 zh_CN en_US

type AlibabaSecurityJaqResourceFetchAPIResponse

type AlibabaSecurityJaqResourceFetchAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqResourceFetchAPIResponseModel
}

AlibabaSecurityJaqResourceFetchAPIResponse 获取资源文件 API返回值 alibaba.security.jaq.resource.fetch

在前向化验证流程中提供资源文件服务

type AlibabaSecurityJaqResourceFetchAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqResourceFetchAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_resource_fetch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 获取资源结果
	Data *JaqResourceResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqResourceFetchAPIResponseModel is 获取资源文件 成功返回结果

type AlibabaSecurityJaqRpCloudEventAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpCloudEventAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpCloudEventAPIRequest 事件上报 API请求 alibaba.security.jaq.rp.cloud.event

事件上报接口

func NewAlibabaSecurityJaqRpCloudEventRequest

func NewAlibabaSecurityJaqRpCloudEventRequest() *AlibabaSecurityJaqRpCloudEventAPIRequest

NewAlibabaSecurityJaqRpCloudEventRequest 初始化AlibabaSecurityJaqRpCloudEventAPIRequest对象

func (AlibabaSecurityJaqRpCloudEventAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpCloudEventAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpCloudEventAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpCloudEventAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpCloudEventAPIRequest) GetEventCode added in v1.2.0

GetEventCode EventCode Getter

func (AlibabaSecurityJaqRpCloudEventAPIRequest) GetEventData added in v1.2.0

GetEventData EventData Getter

func (AlibabaSecurityJaqRpCloudEventAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpCloudEventAPIRequest) GetVerifyToken added in v1.2.0

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpCloudEventAPIRequest) SetEventCode added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudEventAPIRequest) SetEventCode(_eventCode string) error

SetEventCode is EventCode Setter 事件编码

func (*AlibabaSecurityJaqRpCloudEventAPIRequest) SetEventData added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudEventAPIRequest) SetEventData(_eventData string) error

SetEventData is EventData Setter 事件信息

func (*AlibabaSecurityJaqRpCloudEventAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudEventAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter 认证token

type AlibabaSecurityJaqRpCloudEventAPIResponse

type AlibabaSecurityJaqRpCloudEventAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpCloudEventAPIResponseModel
}

AlibabaSecurityJaqRpCloudEventAPIResponse 事件上报 API返回值 alibaba.security.jaq.rp.cloud.event

事件上报接口

type AlibabaSecurityJaqRpCloudEventAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpCloudEventAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_cloud_event_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *RpEventResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSecurityJaqRpCloudEventAPIResponseModel is 事件上报 成功返回结果

type AlibabaSecurityJaqRpCloudOcrCheckAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpCloudOcrCheckAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpCloudOcrCheckAPIRequest ocr同时实名校验 API请求 alibaba.security.jaq.rp.cloud.ocr.check

聚安全实人认证证件OCR识别功能接口

func NewAlibabaSecurityJaqRpCloudOcrCheckRequest

func NewAlibabaSecurityJaqRpCloudOcrCheckRequest() *AlibabaSecurityJaqRpCloudOcrCheckAPIRequest

NewAlibabaSecurityJaqRpCloudOcrCheckRequest 初始化AlibabaSecurityJaqRpCloudOcrCheckAPIRequest对象

func (AlibabaSecurityJaqRpCloudOcrCheckAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpCloudOcrCheckAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpCloudOcrCheckAPIRequest) GetImageUrls added in v1.2.0

GetImageUrls ImageUrls Getter

func (AlibabaSecurityJaqRpCloudOcrCheckAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpCloudOcrCheckAPIRequest) GetVerifyToken added in v1.2.0

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpCloudOcrCheckAPIRequest) SetImageUrls added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudOcrCheckAPIRequest) SetImageUrls(_imageUrls string) error

SetImageUrls is ImageUrls Setter 要识别的信息

func (*AlibabaSecurityJaqRpCloudOcrCheckAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudOcrCheckAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter token

type AlibabaSecurityJaqRpCloudOcrCheckAPIResponse

type AlibabaSecurityJaqRpCloudOcrCheckAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpCloudOcrCheckAPIResponseModel
}

AlibabaSecurityJaqRpCloudOcrCheckAPIResponse ocr同时实名校验 API返回值 alibaba.security.jaq.rp.cloud.ocr.check

聚安全实人认证证件OCR识别功能接口

type AlibabaSecurityJaqRpCloudOcrCheckAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpCloudOcrCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_cloud_ocr_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Data *RpidCard `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpCloudOcrCheckAPIResponseModel is ocr同时实名校验 成功返回结果

type AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest 验证姓名和证件号 API请求 alibaba.security.jaq.rp.cloud.realname.check

验证姓名和证件号

func NewAlibabaSecurityJaqRpCloudRealnameCheckRequest

func NewAlibabaSecurityJaqRpCloudRealnameCheckRequest() *AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest

NewAlibabaSecurityJaqRpCloudRealnameCheckRequest 初始化AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest对象

func (AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) GetIdentityCode added in v1.2.0

GetIdentityCode IdentityCode Getter

func (AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) GetImageUrls added in v1.2.0

GetImageUrls ImageUrls Getter

func (AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) GetVerifyToken added in v1.2.0

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) SetIdentityCode added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) SetIdentityCode(_identityCode string) error

SetIdentityCode is IdentityCode Setter 证件号

func (*AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) SetImageUrls added in v1.2.0

SetImageUrls is ImageUrls Setter 要识别的信息

func (*AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) SetName added in v1.2.0

SetName is Name Setter 姓名

func (*AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudRealnameCheckAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter token

type AlibabaSecurityJaqRpCloudRealnameCheckAPIResponse

type AlibabaSecurityJaqRpCloudRealnameCheckAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpCloudRealnameCheckAPIResponseModel
}

AlibabaSecurityJaqRpCloudRealnameCheckAPIResponse 验证姓名和证件号 API返回值 alibaba.security.jaq.rp.cloud.realname.check

验证姓名和证件号

type AlibabaSecurityJaqRpCloudRealnameCheckAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpCloudRealnameCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_cloud_realname_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Data *RealNameResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpCloudRealnameCheckAPIResponseModel is 验证姓名和证件号 成功返回结果

type AlibabaSecurityJaqRpCloudRphitAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpCloudRphitAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpCloudRphitAPIRequest 实人认证云服务日志打点 API请求 alibaba.security.jaq.rp.cloud.rphit

聚安全实人认证日志打点接口

func NewAlibabaSecurityJaqRpCloudRphitRequest

func NewAlibabaSecurityJaqRpCloudRphitRequest() *AlibabaSecurityJaqRpCloudRphitAPIRequest

NewAlibabaSecurityJaqRpCloudRphitRequest 初始化AlibabaSecurityJaqRpCloudRphitAPIRequest对象

func (AlibabaSecurityJaqRpCloudRphitAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpCloudRphitAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpCloudRphitAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpCloudRphitAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpCloudRphitAPIRequest) GetContent added in v1.2.0

GetContent Content Getter

func (AlibabaSecurityJaqRpCloudRphitAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqRpCloudRphitAPIRequest) SetContent added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudRphitAPIRequest) SetContent(_content string) error

SetContent is Content Setter xxx

type AlibabaSecurityJaqRpCloudRphitAPIResponse

type AlibabaSecurityJaqRpCloudRphitAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpCloudRphitAPIResponseModel
}

AlibabaSecurityJaqRpCloudRphitAPIResponse 实人认证云服务日志打点 API返回值 alibaba.security.jaq.rp.cloud.rphit

聚安全实人认证日志打点接口

type AlibabaSecurityJaqRpCloudRphitAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpCloudRphitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_cloud_rphit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpCloudRphitAPIResponseModel is 实人认证云服务日志打点 成功返回结果

type AlibabaSecurityJaqRpCloudStartAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpCloudStartAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpCloudStartAPIRequest 实人认证云开始认证 API请求 alibaba.security.jaq.rp.cloud.start

聚安全实人认证开始

func NewAlibabaSecurityJaqRpCloudStartRequest

func NewAlibabaSecurityJaqRpCloudStartRequest() *AlibabaSecurityJaqRpCloudStartAPIRequest

NewAlibabaSecurityJaqRpCloudStartRequest 初始化AlibabaSecurityJaqRpCloudStartAPIRequest对象

func (AlibabaSecurityJaqRpCloudStartAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpCloudStartAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpCloudStartAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpCloudStartAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpCloudStartAPIRequest) GetClientInfo added in v1.2.0

GetClientInfo ClientInfo Getter

func (AlibabaSecurityJaqRpCloudStartAPIRequest) GetExtraData added in v1.2.0

GetExtraData ExtraData Getter

func (AlibabaSecurityJaqRpCloudStartAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpCloudStartAPIRequest) GetVerifyToken added in v1.2.0

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpCloudStartAPIRequest) SetClientInfo added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudStartAPIRequest) SetClientInfo(_clientInfo *RpClientInfo) error

SetClientInfo is ClientInfo Setter 客户端信息,如果是服务端接入,里面的参数可为空

func (*AlibabaSecurityJaqRpCloudStartAPIRequest) SetExtraData added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudStartAPIRequest) SetExtraData(_extraData string) error

SetExtraData is ExtraData Setter 扩展信息

func (*AlibabaSecurityJaqRpCloudStartAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudStartAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter token

type AlibabaSecurityJaqRpCloudStartAPIResponse

type AlibabaSecurityJaqRpCloudStartAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpCloudStartAPIResponseModel
}

AlibabaSecurityJaqRpCloudStartAPIResponse 实人认证云开始认证 API返回值 alibaba.security.jaq.rp.cloud.start

聚安全实人认证开始

type AlibabaSecurityJaqRpCloudStartAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpCloudStartAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_cloud_start_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Data *RpStartResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpCloudStartAPIResponseModel is 实人认证云开始认证 成功返回结果

type AlibabaSecurityJaqRpCloudSubmitAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpCloudSubmitAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpCloudSubmitAPIRequest 实人认证云服务提交接口 API请求 alibaba.security.jaq.rp.cloud.submit

聚安全实人认证提交认证接口

func NewAlibabaSecurityJaqRpCloudSubmitRequest

func NewAlibabaSecurityJaqRpCloudSubmitRequest() *AlibabaSecurityJaqRpCloudSubmitAPIRequest

NewAlibabaSecurityJaqRpCloudSubmitRequest 初始化AlibabaSecurityJaqRpCloudSubmitAPIRequest对象

func (AlibabaSecurityJaqRpCloudSubmitAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpCloudSubmitAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpCloudSubmitAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpCloudSubmitAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpCloudSubmitAPIRequest) GetVerifyToken added in v1.2.0

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpCloudSubmitAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudSubmitAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter 认证token

type AlibabaSecurityJaqRpCloudSubmitAPIResponse

type AlibabaSecurityJaqRpCloudSubmitAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpCloudSubmitAPIResponseModel
}

AlibabaSecurityJaqRpCloudSubmitAPIResponse 实人认证云服务提交接口 API返回值 alibaba.security.jaq.rp.cloud.submit

聚安全实人认证提交认证接口

type AlibabaSecurityJaqRpCloudSubmitAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpCloudSubmitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_cloud_submit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Data *RpSubmitResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpCloudSubmitAPIResponseModel is 实人认证云服务提交接口 成功返回结果

type AlibabaSecurityJaqRpCloudUploadAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpCloudUploadAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpCloudUploadAPIRequest 实人认证云上传接口 API请求 alibaba.security.jaq.rp.cloud.upload

聚安全实人认证上传认证信息

func NewAlibabaSecurityJaqRpCloudUploadRequest

func NewAlibabaSecurityJaqRpCloudUploadRequest() *AlibabaSecurityJaqRpCloudUploadAPIRequest

NewAlibabaSecurityJaqRpCloudUploadRequest 初始化AlibabaSecurityJaqRpCloudUploadAPIRequest对象

func (AlibabaSecurityJaqRpCloudUploadAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpCloudUploadAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpCloudUploadAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpCloudUploadAPIRequest) GetElements added in v1.2.0

GetElements Elements Getter

func (AlibabaSecurityJaqRpCloudUploadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpCloudUploadAPIRequest) GetVerifyToken added in v1.2.0

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpCloudUploadAPIRequest) SetElements added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudUploadAPIRequest) SetElements(_elements []Elements) error

SetElements is Elements Setter []

func (*AlibabaSecurityJaqRpCloudUploadAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpCloudUploadAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter 认证token

type AlibabaSecurityJaqRpCloudUploadAPIResponse

type AlibabaSecurityJaqRpCloudUploadAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpCloudUploadAPIResponseModel
}

AlibabaSecurityJaqRpCloudUploadAPIResponse 实人认证云上传接口 API返回值 alibaba.security.jaq.rp.cloud.upload

聚安全实人认证上传认证信息

type AlibabaSecurityJaqRpCloudUploadAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpCloudUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_cloud_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Data *RpUploadResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpCloudUploadAPIResponseModel is 实人认证云上传接口 成功返回结果

type AlibabaSecurityJaqRpFetchmaterialAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpFetchmaterialAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpFetchmaterialAPIRequest 聚安全实人认证获取结果接口 API请求 alibaba.security.jaq.rp.fetchmaterial

聚安全实人认证获取结果接口

func NewAlibabaSecurityJaqRpFetchmaterialRequest

func NewAlibabaSecurityJaqRpFetchmaterialRequest() *AlibabaSecurityJaqRpFetchmaterialAPIRequest

NewAlibabaSecurityJaqRpFetchmaterialRequest 初始化AlibabaSecurityJaqRpFetchmaterialAPIRequest对象

func (AlibabaSecurityJaqRpFetchmaterialAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpFetchmaterialAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpFetchmaterialAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpFetchmaterialAPIRequest) GetSecurityKey added in v1.2.0

GetSecurityKey SecurityKey Getter

func (*AlibabaSecurityJaqRpFetchmaterialAPIRequest) SetSecurityKey added in v1.2.0

func (r *AlibabaSecurityJaqRpFetchmaterialAPIRequest) SetSecurityKey(_securityKey string) error

SetSecurityKey is SecurityKey Setter 消息服务推送的key

type AlibabaSecurityJaqRpFetchmaterialAPIResponse

type AlibabaSecurityJaqRpFetchmaterialAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpFetchmaterialAPIResponseModel
}

AlibabaSecurityJaqRpFetchmaterialAPIResponse 聚安全实人认证获取结果接口 API返回值 alibaba.security.jaq.rp.fetchmaterial

聚安全实人认证获取结果接口

type AlibabaSecurityJaqRpFetchmaterialAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpFetchmaterialAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_fetchmaterial_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果信息
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpFetchmaterialAPIResponseModel is 聚安全实人认证获取结果接口 成功返回结果

type AlibabaSecurityJaqRpGetverifytokenAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpGetverifytokenAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpGetverifytokenAPIRequest 聚安全实人认证获取认证会话token API请求 alibaba.security.jaq.rp.getverifytoken

聚安全实人认证获取认证会话token

func NewAlibabaSecurityJaqRpGetverifytokenRequest

func NewAlibabaSecurityJaqRpGetverifytokenRequest() *AlibabaSecurityJaqRpGetverifytokenAPIRequest

NewAlibabaSecurityJaqRpGetverifytokenRequest 初始化AlibabaSecurityJaqRpGetverifytokenAPIRequest对象

func (AlibabaSecurityJaqRpGetverifytokenAPIRequest) GetAccountId added in v1.2.0

GetAccountId AccountId Getter

func (AlibabaSecurityJaqRpGetverifytokenAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpGetverifytokenAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpGetverifytokenAPIRequest) GetBiz added in v1.2.0

GetBiz Biz Getter

func (AlibabaSecurityJaqRpGetverifytokenAPIRequest) GetExtraData added in v1.2.0

GetExtraData ExtraData Getter

func (AlibabaSecurityJaqRpGetverifytokenAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpGetverifytokenAPIRequest) GetSource added in v1.2.0

GetSource Source Getter

func (AlibabaSecurityJaqRpGetverifytokenAPIRequest) GetTicketId added in v1.2.0

GetTicketId TicketId Getter

func (*AlibabaSecurityJaqRpGetverifytokenAPIRequest) SetAccountId added in v1.2.0

func (r *AlibabaSecurityJaqRpGetverifytokenAPIRequest) SetAccountId(_accountId string) error

SetAccountId is AccountId Setter 账号,强烈建议填写,区别用户的唯一标识

func (*AlibabaSecurityJaqRpGetverifytokenAPIRequest) SetBiz added in v1.2.0

SetBiz is Biz Setter 业务点

func (*AlibabaSecurityJaqRpGetverifytokenAPIRequest) SetExtraData added in v1.2.0

func (r *AlibabaSecurityJaqRpGetverifytokenAPIRequest) SetExtraData(_extraData string) error

SetExtraData is ExtraData Setter 额外信息

func (*AlibabaSecurityJaqRpGetverifytokenAPIRequest) SetSource added in v1.2.0

SetSource is Source Setter 客户端来源

func (*AlibabaSecurityJaqRpGetverifytokenAPIRequest) SetTicketId added in v1.2.0

func (r *AlibabaSecurityJaqRpGetverifytokenAPIRequest) SetTicketId(_ticketId string) error

SetTicketId is TicketId Setter 选填,作为一次验证的唯一标识,每次验证需更换。如果不是验证类型可不填

type AlibabaSecurityJaqRpGetverifytokenAPIResponse

type AlibabaSecurityJaqRpGetverifytokenAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpGetverifytokenAPIResponseModel
}

AlibabaSecurityJaqRpGetverifytokenAPIResponse 聚安全实人认证获取认证会话token API返回值 alibaba.security.jaq.rp.getverifytoken

聚安全实人认证获取认证会话token

type AlibabaSecurityJaqRpGetverifytokenAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpGetverifytokenAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_getverifytoken_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// token信息
	Data *RpInitResultBo `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpGetverifytokenAPIResponseModel is 聚安全实人认证获取认证会话token 成功返回结果

type AlibabaSecurityJaqRpOcrAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpOcrAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpOcrAPIRequest 聚安全实人认证证件OCR识别功能接口 API请求 alibaba.security.jaq.rp.ocr

聚安全实人认证证件OCR识别功能接口

func NewAlibabaSecurityJaqRpOcrRequest

func NewAlibabaSecurityJaqRpOcrRequest() *AlibabaSecurityJaqRpOcrAPIRequest

NewAlibabaSecurityJaqRpOcrRequest 初始化AlibabaSecurityJaqRpOcrAPIRequest对象

func (AlibabaSecurityJaqRpOcrAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpOcrAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpOcrAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpOcrAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpOcrAPIRequest) GetImageUrls added in v1.2.0

func (r AlibabaSecurityJaqRpOcrAPIRequest) GetImageUrls() string

GetImageUrls ImageUrls Getter

func (AlibabaSecurityJaqRpOcrAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpOcrAPIRequest) GetVerifyToken added in v1.2.0

func (r AlibabaSecurityJaqRpOcrAPIRequest) GetVerifyToken() string

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpOcrAPIRequest) SetImageUrls added in v1.2.0

func (r *AlibabaSecurityJaqRpOcrAPIRequest) SetImageUrls(_imageUrls string) error

SetImageUrls is ImageUrls Setter 要识别的信息

func (*AlibabaSecurityJaqRpOcrAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpOcrAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter token

type AlibabaSecurityJaqRpOcrAPIResponse

type AlibabaSecurityJaqRpOcrAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpOcrAPIResponseModel
}

AlibabaSecurityJaqRpOcrAPIResponse 聚安全实人认证证件OCR识别功能接口 API返回值 alibaba.security.jaq.rp.ocr

聚安全实人认证证件OCR识别功能接口

type AlibabaSecurityJaqRpOcrAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpOcrAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_ocr_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果信息
	Data *RpidCardBo `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpOcrAPIResponseModel is 聚安全实人认证证件OCR识别功能接口 成功返回结果

type AlibabaSecurityJaqRpOcrCheckAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpOcrCheckAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpOcrCheckAPIRequest ocr同时实名校验 API请求 alibaba.security.jaq.rp.ocr.check

聚安全实人认证证件OCR识别功能接口

func NewAlibabaSecurityJaqRpOcrCheckRequest

func NewAlibabaSecurityJaqRpOcrCheckRequest() *AlibabaSecurityJaqRpOcrCheckAPIRequest

NewAlibabaSecurityJaqRpOcrCheckRequest 初始化AlibabaSecurityJaqRpOcrCheckAPIRequest对象

func (AlibabaSecurityJaqRpOcrCheckAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpOcrCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpOcrCheckAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpOcrCheckAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpOcrCheckAPIRequest) GetImageUrls added in v1.2.0

GetImageUrls ImageUrls Getter

func (AlibabaSecurityJaqRpOcrCheckAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpOcrCheckAPIRequest) GetVerifyToken added in v1.2.0

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpOcrCheckAPIRequest) SetImageUrls added in v1.2.0

func (r *AlibabaSecurityJaqRpOcrCheckAPIRequest) SetImageUrls(_imageUrls string) error

SetImageUrls is ImageUrls Setter 要识别的信息

func (*AlibabaSecurityJaqRpOcrCheckAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpOcrCheckAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter token

type AlibabaSecurityJaqRpOcrCheckAPIResponse

type AlibabaSecurityJaqRpOcrCheckAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpOcrCheckAPIResponseModel
}

AlibabaSecurityJaqRpOcrCheckAPIResponse ocr同时实名校验 API返回值 alibaba.security.jaq.rp.ocr.check

聚安全实人认证证件OCR识别功能接口

type AlibabaSecurityJaqRpOcrCheckAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpOcrCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_ocr_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Data *RpidCard `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpOcrCheckAPIResponseModel is ocr同时实名校验 成功返回结果

type AlibabaSecurityJaqRpQueryAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpQueryAPIRequest 聚安全实人认证查询认证结果 API请求 alibaba.security.jaq.rp.query

聚安全实人认证查询认证结果

func NewAlibabaSecurityJaqRpQueryRequest

func NewAlibabaSecurityJaqRpQueryRequest() *AlibabaSecurityJaqRpQueryAPIRequest

NewAlibabaSecurityJaqRpQueryRequest 初始化AlibabaSecurityJaqRpQueryAPIRequest对象

func (AlibabaSecurityJaqRpQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpQueryAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpQueryAPIRequest) GetVerifyToken added in v1.2.0

func (r AlibabaSecurityJaqRpQueryAPIRequest) GetVerifyToken() string

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpQueryAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpQueryAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter token

type AlibabaSecurityJaqRpQueryAPIResponse

type AlibabaSecurityJaqRpQueryAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpQueryAPIResponseModel
}

AlibabaSecurityJaqRpQueryAPIResponse 聚安全实人认证查询认证结果 API返回值 alibaba.security.jaq.rp.query

聚安全实人认证查询认证结果

type AlibabaSecurityJaqRpQueryAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果信息
	Data *RpAuditResultBo `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpQueryAPIResponseModel is 聚安全实人认证查询认证结果 成功返回结果

type AlibabaSecurityJaqRpRphitAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpRphitAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpRphitAPIRequest 聚安全-实人认证日志打点接口 API请求 alibaba.security.jaq.rp.rphit

聚安全实人认证日志打点接口

func NewAlibabaSecurityJaqRpRphitRequest

func NewAlibabaSecurityJaqRpRphitRequest() *AlibabaSecurityJaqRpRphitAPIRequest

NewAlibabaSecurityJaqRpRphitRequest 初始化AlibabaSecurityJaqRpRphitAPIRequest对象

func (AlibabaSecurityJaqRpRphitAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpRphitAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpRphitAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpRphitAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpRphitAPIRequest) GetContent added in v1.2.0

GetContent Content Getter

func (AlibabaSecurityJaqRpRphitAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqRpRphitAPIRequest) SetContent added in v1.2.0

func (r *AlibabaSecurityJaqRpRphitAPIRequest) SetContent(_content string) error

SetContent is Content Setter xxx

type AlibabaSecurityJaqRpRphitAPIResponse

type AlibabaSecurityJaqRpRphitAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpRphitAPIResponseModel
}

AlibabaSecurityJaqRpRphitAPIResponse 聚安全-实人认证日志打点接口 API返回值 alibaba.security.jaq.rp.rphit

聚安全实人认证日志打点接口

type AlibabaSecurityJaqRpRphitAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpRphitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_rphit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpRphitAPIResponseModel is 聚安全-实人认证日志打点接口 成功返回结果

type AlibabaSecurityJaqRpStartAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpStartAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpStartAPIRequest 聚安全实人认证开始 API请求 alibaba.security.jaq.rp.start

聚安全实人认证开始

func NewAlibabaSecurityJaqRpStartRequest

func NewAlibabaSecurityJaqRpStartRequest() *AlibabaSecurityJaqRpStartAPIRequest

NewAlibabaSecurityJaqRpStartRequest 初始化AlibabaSecurityJaqRpStartAPIRequest对象

func (AlibabaSecurityJaqRpStartAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpStartAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpStartAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpStartAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpStartAPIRequest) GetClientInfo added in v1.2.0

GetClientInfo ClientInfo Getter

func (AlibabaSecurityJaqRpStartAPIRequest) GetExtraData added in v1.2.0

GetExtraData ExtraData Getter

func (AlibabaSecurityJaqRpStartAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpStartAPIRequest) GetVerifyToken added in v1.2.0

func (r AlibabaSecurityJaqRpStartAPIRequest) GetVerifyToken() string

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpStartAPIRequest) SetClientInfo added in v1.2.0

func (r *AlibabaSecurityJaqRpStartAPIRequest) SetClientInfo(_clientInfo *RpClientInfo) error

SetClientInfo is ClientInfo Setter 客户端信息,如果是服务端接入,里面的参数可为空

func (*AlibabaSecurityJaqRpStartAPIRequest) SetExtraData added in v1.2.0

func (r *AlibabaSecurityJaqRpStartAPIRequest) SetExtraData(_extraData string) error

SetExtraData is ExtraData Setter 扩展信息

func (*AlibabaSecurityJaqRpStartAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpStartAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter token

type AlibabaSecurityJaqRpStartAPIResponse

type AlibabaSecurityJaqRpStartAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpStartAPIResponseModel
}

AlibabaSecurityJaqRpStartAPIResponse 聚安全实人认证开始 API返回值 alibaba.security.jaq.rp.start

聚安全实人认证开始

type AlibabaSecurityJaqRpStartAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpStartAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_start_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果信息
	Data *RpStartResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpStartAPIResponseModel is 聚安全实人认证开始 成功返回结果

type AlibabaSecurityJaqRpStatusAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpStatusAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpStatusAPIRequest 聚安全实人认证查询状态接口 API请求 alibaba.security.jaq.rp.status

聚安全实人认证查询状态接口

func NewAlibabaSecurityJaqRpStatusRequest

func NewAlibabaSecurityJaqRpStatusRequest() *AlibabaSecurityJaqRpStatusAPIRequest

NewAlibabaSecurityJaqRpStatusRequest 初始化AlibabaSecurityJaqRpStatusAPIRequest对象

func (AlibabaSecurityJaqRpStatusAPIRequest) GetAccountId added in v1.2.0

GetAccountId AccountId Getter

func (AlibabaSecurityJaqRpStatusAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpStatusAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpStatusAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpStatusAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpStatusAPIRequest) GetBiz added in v1.2.0

GetBiz Biz Getter

func (AlibabaSecurityJaqRpStatusAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpStatusAPIRequest) GetSource added in v1.2.0

GetSource Source Getter

func (AlibabaSecurityJaqRpStatusAPIRequest) GetTicketId added in v1.2.0

GetTicketId TicketId Getter

func (*AlibabaSecurityJaqRpStatusAPIRequest) SetAccountId added in v1.2.0

func (r *AlibabaSecurityJaqRpStatusAPIRequest) SetAccountId(_accountId string) error

SetAccountId is AccountId Setter 账号id

func (*AlibabaSecurityJaqRpStatusAPIRequest) SetBiz added in v1.2.0

SetBiz is Biz Setter 业务来源

func (*AlibabaSecurityJaqRpStatusAPIRequest) SetSource added in v1.2.0

func (r *AlibabaSecurityJaqRpStatusAPIRequest) SetSource(_source string) error

SetSource is Source Setter 客户端来源

func (*AlibabaSecurityJaqRpStatusAPIRequest) SetTicketId added in v1.2.0

func (r *AlibabaSecurityJaqRpStatusAPIRequest) SetTicketId(_ticketId string) error

SetTicketId is TicketId Setter 凭据id

type AlibabaSecurityJaqRpStatusAPIResponse

type AlibabaSecurityJaqRpStatusAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpStatusAPIResponseModel
}

AlibabaSecurityJaqRpStatusAPIResponse 聚安全实人认证查询状态接口 API返回值 alibaba.security.jaq.rp.status

聚安全实人认证查询状态接口

type AlibabaSecurityJaqRpStatusAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpStatusAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_status_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 状态信息
	Data *RpStatusResultBo `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpStatusAPIResponseModel is 聚安全实人认证查询状态接口 成功返回结果

type AlibabaSecurityJaqRpSubmitAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpSubmitAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpSubmitAPIRequest 聚安全实人认证提交认证接口 API请求 alibaba.security.jaq.rp.submit

聚安全实人认证提交认证接口

func NewAlibabaSecurityJaqRpSubmitRequest

func NewAlibabaSecurityJaqRpSubmitRequest() *AlibabaSecurityJaqRpSubmitAPIRequest

NewAlibabaSecurityJaqRpSubmitRequest 初始化AlibabaSecurityJaqRpSubmitAPIRequest对象

func (AlibabaSecurityJaqRpSubmitAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpSubmitAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpSubmitAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpSubmitAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpSubmitAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpSubmitAPIRequest) GetVerifyToken added in v1.2.0

func (r AlibabaSecurityJaqRpSubmitAPIRequest) GetVerifyToken() string

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpSubmitAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpSubmitAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter 认证token

type AlibabaSecurityJaqRpSubmitAPIResponse

type AlibabaSecurityJaqRpSubmitAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpSubmitAPIResponseModel
}

AlibabaSecurityJaqRpSubmitAPIResponse 聚安全实人认证提交认证接口 API返回值 alibaba.security.jaq.rp.submit

聚安全实人认证提交认证接口

type AlibabaSecurityJaqRpSubmitAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpSubmitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_submit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果信息
	Data *RpSubmitResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpSubmitAPIResponseModel is 聚安全实人认证提交认证接口 成功返回结果

type AlibabaSecurityJaqRpUploadAPIRequest added in v1.2.0

type AlibabaSecurityJaqRpUploadAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqRpUploadAPIRequest 聚安全实人认证上传认证信息 API请求 alibaba.security.jaq.rp.upload

聚安全实人认证上传认证信息

func NewAlibabaSecurityJaqRpUploadRequest

func NewAlibabaSecurityJaqRpUploadRequest() *AlibabaSecurityJaqRpUploadAPIRequest

NewAlibabaSecurityJaqRpUploadRequest 初始化AlibabaSecurityJaqRpUploadAPIRequest对象

func (AlibabaSecurityJaqRpUploadAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqRpUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqRpUploadAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqRpUploadAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqRpUploadAPIRequest) GetElements added in v1.2.0

GetElements Elements Getter

func (AlibabaSecurityJaqRpUploadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqRpUploadAPIRequest) GetVerifyToken added in v1.2.0

func (r AlibabaSecurityJaqRpUploadAPIRequest) GetVerifyToken() string

GetVerifyToken VerifyToken Getter

func (*AlibabaSecurityJaqRpUploadAPIRequest) SetElements added in v1.2.0

func (r *AlibabaSecurityJaqRpUploadAPIRequest) SetElements(_elements []Element) error

SetElements is Elements Setter 此次需要上传的认证信息的列表

func (*AlibabaSecurityJaqRpUploadAPIRequest) SetVerifyToken added in v1.2.0

func (r *AlibabaSecurityJaqRpUploadAPIRequest) SetVerifyToken(_verifyToken string) error

SetVerifyToken is VerifyToken Setter 认证会话token

type AlibabaSecurityJaqRpUploadAPIResponse

type AlibabaSecurityJaqRpUploadAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpUploadAPIResponseModel
}

AlibabaSecurityJaqRpUploadAPIResponse 聚安全实人认证上传认证信息 API返回值 alibaba.security.jaq.rp.upload

聚安全实人认证上传认证信息

type AlibabaSecurityJaqRpUploadAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqRpUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回信息
	Data *RpUploadResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqRpUploadAPIResponseModel is 聚安全实人认证上传认证信息 成功返回结果

type AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest added in v1.2.0

type AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest 保护结果反馈 API请求 alibaba.security.jaq.spamregisterprevention.feedback

用户通过这个接口对垃圾注册防控结果进行反馈

func NewAlibabaSecurityJaqSpamregisterpreventionFeedbackRequest

func NewAlibabaSecurityJaqSpamregisterpreventionFeedbackRequest() *AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest

NewAlibabaSecurityJaqSpamregisterpreventionFeedbackRequest 初始化AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest对象

func (AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) GetCustomerDecision added in v1.2.0

GetCustomerDecision CustomerDecision Getter

func (AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) GetDenyReason added in v1.2.0

GetDenyReason DenyReason Getter

func (AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) GetFeedBack added in v1.2.0

GetFeedBack FeedBack Getter

func (AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) GetJaqDecision added in v1.2.0

GetJaqDecision JaqDecision Getter

func (AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) SetCustomerDecision added in v1.2.0

func (r *AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) SetCustomerDecision(_customerDecision int64) error

SetCustomerDecision is CustomerDecision Setter 用户自己的决定信息。当feedBack为0时可以不添。

func (*AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) SetDenyReason added in v1.2.0

SetDenyReason is DenyReason Setter 用户不认同聚安全返回结果的原因描述

func (*AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) SetFeedBack added in v1.2.0

SetFeedBack is FeedBack Setter 用户不认同聚安全返回结果的原因类型。0:同意判定;1:和三方结果不符;2:用户投诉;3:经过人工review判断;9: 其他。

func (*AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 查询接口返回的id

func (*AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIRequest) SetJaqDecision added in v1.2.0

SetJaqDecision is JaqDecision Setter 聚安全返回的决定信息。当feedBack为0时可以不添

type AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIResponse

type AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIResponseModel
}

AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIResponse 保护结果反馈 API返回值 alibaba.security.jaq.spamregisterprevention.feedback

用户通过这个接口对垃圾注册防控结果进行反馈

type AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_spamregisterprevention_feedback_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// feedBack返回结果
	FeedBackResult *JaqFeedBackResult `json:"feed_back_result,omitempty" xml:"feed_back_result,omitempty"`
}

AlibabaSecurityJaqSpamregisterpreventionFeedbackAPIResponseModel is 保护结果反馈 成功返回结果

type AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest added in v1.2.0

type AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest 获取垃圾注册防控结果 API请求 alibaba.security.jaq.spamregisterprevention.result.fetch

获取垃圾注册防控结果

func NewAlibabaSecurityJaqSpamregisterpreventionResultFetchRequest

func NewAlibabaSecurityJaqSpamregisterpreventionResultFetchRequest() *AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest

NewAlibabaSecurityJaqSpamregisterpreventionResultFetchRequest 初始化AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest对象

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetAddress added in v1.2.0

GetAddress Address Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetAgent added in v1.2.0

GetAgent Agent Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetBankCardNumber added in v1.2.0

GetBankCardNumber BankCardNumber Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetCompanyName added in v1.2.0

GetCompanyName CompanyName Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetContext added in v1.2.0

GetContext Context Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetCookie added in v1.2.0

GetCookie Cookie Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetEmail added in v1.2.0

GetEmail Email Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetIdNumber added in v1.2.0

GetIdNumber IdNumber Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetIp added in v1.2.0

GetIp Ip Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetJsToken added in v1.2.0

GetJsToken JsToken Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetMacAddress added in v1.2.0

GetMacAddress MacAddress Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetNickName added in v1.2.0

GetNickName NickName Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetPhoneNumber added in v1.2.0

GetPhoneNumber PhoneNumber Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetReferer added in v1.2.0

GetReferer Referer Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetRegisterUrl added in v1.2.0

GetRegisterUrl RegisterUrl Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetSdkToken added in v1.2.0

GetSdkToken SdkToken Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetSessionId added in v1.2.0

GetSessionId SessionId Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetSource added in v1.2.0

GetSource Source Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetAddress added in v1.2.0

SetAddress is Address Setter 账号绑定的注册的地址

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetAgent added in v1.2.0

SetAgent is Agent Setter agent,发送HTTP请求的代理

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetBankCardNumber added in v1.2.0

func (r *AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetBankCardNumber(_bankCardNumber string) error

SetBankCardNumber is BankCardNumber Setter 账号绑定的银行卡号

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetCompanyName added in v1.2.0

SetCompanyName is CompanyName Setter 账号绑定的公司名字

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetContext added in v1.2.0

SetContext is Context Setter 场景描述,String必须在下面可以使用的场景中选择。可以使用的场景为:Login:登录事件;Register:注册事件;Trade:交易事件;Payment:支付事件;Refund:退款事件 ;Loan:借款事件;Transfer:转账事件;Withdraw :提现事件;Modify:修改事件;Click:点击事件;Activate:激活事件; Other:其他事件。

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetCookie added in v1.2.0

SetCookie is Cookie Setter Cookie

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetEmail added in v1.2.0

SetEmail is Email Setter 账号绑定的email地址

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetIdNumber added in v1.2.0

SetIdNumber is IdNumber Setter 账号绑定的身份证号

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetIp added in v1.2.0

SetIp is Ip Setter 账号绑定的IP地址

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetJsToken added in v1.2.0

SetJsToken is JsToken Setter 接入JS后从服务端获取的token

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetMacAddress added in v1.2.0

SetMacAddress is MacAddress Setter 硬件信息

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetNickName added in v1.2.0

SetNickName is NickName Setter 账号绑定的呢称

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetPhoneNumber added in v1.2.0

SetPhoneNumber is PhoneNumber Setter 账号绑定的手机号码

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetReferer added in v1.2.0

SetReferer is Referer Setter 上一跳信息

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetRegisterUrl added in v1.2.0

SetRegisterUrl is RegisterUrl Setter 当前注册的页面URL,Source为1,2时,该参数必选

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetSdkToken added in v1.2.0

SetSdkToken is SdkToken Setter 接入SDK后从服务端获取的token

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetSessionId added in v1.2.0

SetSessionId is SessionId Setter Session id

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetSource added in v1.2.0

SetSource is Source Setter 登录来源。可以输入的参数如下:1:PC网页;2:移动网页;3:APP;4:其他

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIRequest) SetUserId added in v1.2.0

SetUserId is UserId Setter 账号的全局唯一标识

type AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIResponse

type AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIResponseModel
}

AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIResponse 获取垃圾注册防控结果 API返回值 alibaba.security.jaq.spamregisterprevention.result.fetch

获取垃圾注册防控结果

type AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_spamregisterprevention_result_fetch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 账号风控返回结果
	JaqAccountRiskResult *JaqAccountRiskResult `json:"jaq_account_risk_result,omitempty" xml:"jaq_account_risk_result,omitempty"`
}

AlibabaSecurityJaqSpamregisterpreventionResultFetchAPIResponseModel is 获取垃圾注册防控结果 成功返回结果

type AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest added in v1.2.0

type AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest 获取虚假注册保护结果 API请求 alibaba.security.jaq.spamregisterprevention.result.fetch.new

获取虚假注册保护结果

func NewAlibabaSecurityJaqSpamregisterpreventionResultFetchNewRequest

func NewAlibabaSecurityJaqSpamregisterpreventionResultFetchNewRequest() *AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest

NewAlibabaSecurityJaqSpamregisterpreventionResultFetchNewRequest 初始化AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest对象

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetAddress added in v1.2.0

GetAddress Address Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetAgent added in v1.2.0

GetAgent Agent Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetBankCardNumber added in v1.2.0

GetBankCardNumber BankCardNumber Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetCompanyName added in v1.2.0

GetCompanyName CompanyName Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetCookie added in v1.2.0

GetCookie Cookie Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetEmail added in v1.2.0

GetEmail Email Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetExtendData added in v1.2.0

GetExtendData ExtendData Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetIdNumber added in v1.2.0

GetIdNumber IdNumber Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetIdType added in v1.2.0

GetIdType IdType Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetIp added in v1.2.0

GetIp Ip Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetJsToken added in v1.2.0

GetJsToken JsToken Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetMacAddress added in v1.2.0

GetMacAddress MacAddress Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetNickName added in v1.2.0

GetNickName NickName Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetPhoneNumber added in v1.2.0

GetPhoneNumber PhoneNumber Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetProtocolVersion added in v1.2.0

GetProtocolVersion ProtocolVersion Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetReferer added in v1.2.0

GetReferer Referer Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetRegisterUrl added in v1.2.0

GetRegisterUrl RegisterUrl Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetSdkToken added in v1.2.0

GetSdkToken SdkToken Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetSessionId added in v1.2.0

GetSessionId SessionId Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetSource added in v1.2.0

GetSource Source Getter

func (AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetAddress added in v1.2.0

SetAddress is Address Setter 账号绑定的注册的地址

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetAgent added in v1.2.0

SetAgent is Agent Setter 发送HTTP请求的代理

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetBankCardNumber added in v1.2.0

SetBankCardNumber is BankCardNumber Setter 账号绑定的银行卡号

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetCompanyName added in v1.2.0

SetCompanyName is CompanyName Setter 账号绑定的公司名字

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetCookie added in v1.2.0

SetCookie is Cookie Setter Cookie

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetEmail added in v1.2.0

SetEmail is Email Setter 关联账号的email。 【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetExtendData added in v1.2.0

SetExtendData is ExtendData Setter 扩展字段。json格式的字符串,根据具体情况而定

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetIdNumber added in v1.2.0

SetIdNumber is IdNumber Setter 账号绑定的身份证号

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetIdType added in v1.2.0

SetIdType is IdType Setter 有user_id时候必填。1:阿里HID;2:用户自有ID;3:openId; 4:其它。【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetIp added in v1.2.0

SetIp is Ip Setter 登录时候的IP地址

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetJsToken added in v1.2.0

SetJsToken is JsToken Setter 接入JS后获取的token

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetMacAddress added in v1.2.0

SetMacAddress is MacAddress Setter 硬件信息

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetNickName added in v1.2.0

SetNickName is NickName Setter 账号绑定的呢称

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetPhoneNumber added in v1.2.0

SetPhoneNumber is PhoneNumber Setter 关联账号的手机号。手机号码的格式为国家码-手机号的格式,如中国手机号86-13088889999或美国手机号001-9096185426,如果不加国家码都视为中国手机号码【phone_number ,email, (user_id,id_type)三种必选其一】

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetProtocolVersion added in v1.2.0

func (r *AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetProtocolVersion(_protocolVersion string) error

SetProtocolVersion is ProtocolVersion Setter 协议版本号。现在的值是1.0

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetReferer added in v1.2.0

SetReferer is Referer Setter 上一跳信息

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetRegisterUrl added in v1.2.0

SetRegisterUrl is RegisterUrl Setter 当前操作的页面URL。Source为1,2时,该参数必选

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetSdkToken added in v1.2.0

SetSdkToken is SdkToken Setter 接入无线保镖安全组件后从服务端获取的token

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetSessionId added in v1.2.0

SetSessionId is SessionId Setter Session id

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetSource added in v1.2.0

SetSource is Source Setter 登录来源。1:PC网页;2:移动网页;3:APP;4:其它

func (*AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIRequest) SetUserId added in v1.2.0

SetUserId is UserId Setter 账号的全局唯一标识,为了提高准确率,建议带上该字段。【phone_number ,email, (user_id,id_type)三种必选其一】

type AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIResponse

type AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIResponseModel
}

AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIResponse 获取虚假注册保护结果 API返回值 alibaba.security.jaq.spamregisterprevention.result.fetch.new

获取虚假注册保护结果

type AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_spamregisterprevention_result_fetch_new_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 账号风控返回结果
	JaqAccountRiskResult *JaqAccountRiskResult `json:"jaq_account_risk_result,omitempty" xml:"jaq_account_risk_result,omitempty"`
}

AlibabaSecurityJaqSpamregisterpreventionResultFetchNewAPIResponseModel is 获取虚假注册保护结果 成功返回结果

type AlibabaSecurityJaqUrlScanAPIRequest added in v1.2.0

type AlibabaSecurityJaqUrlScanAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqUrlScanAPIRequest 恶意网址检测接口 API请求 alibaba.security.jaq.url.scan

url扫描接口

func NewAlibabaSecurityJaqUrlScanRequest

func NewAlibabaSecurityJaqUrlScanRequest() *AlibabaSecurityJaqUrlScanAPIRequest

NewAlibabaSecurityJaqUrlScanRequest 初始化AlibabaSecurityJaqUrlScanAPIRequest对象

func (AlibabaSecurityJaqUrlScanAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSecurityJaqUrlScanAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqUrlScanAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSecurityJaqUrlScanAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqUrlScanAPIRequest) GetParamUrlScanParamList added in v1.2.0

func (r AlibabaSecurityJaqUrlScanAPIRequest) GetParamUrlScanParamList() *UrlScanParamList

GetParamUrlScanParamList ParamUrlScanParamList Getter

func (AlibabaSecurityJaqUrlScanAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSecurityJaqUrlScanAPIRequest) SetParamUrlScanParamList added in v1.2.0

func (r *AlibabaSecurityJaqUrlScanAPIRequest) SetParamUrlScanParamList(_paramUrlScanParamList *UrlScanParamList) error

SetParamUrlScanParamList is ParamUrlScanParamList Setter 扫描参数

type AlibabaSecurityJaqUrlScanAPIResponse

type AlibabaSecurityJaqUrlScanAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqUrlScanAPIResponseModel
}

AlibabaSecurityJaqUrlScanAPIResponse 恶意网址检测接口 API返回值 alibaba.security.jaq.url.scan

url扫描接口

type AlibabaSecurityJaqUrlScanAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqUrlScanAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_url_scan_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 扫描结果
	Data *UrlScanResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaSecurityJaqUrlScanAPIResponseModel is 恶意网址检测接口 成功返回结果

type AlibabaSecurityJaqWsgriskdataReportAPIRequest added in v1.2.0

type AlibabaSecurityJaqWsgriskdataReportAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaSecurityJaqWsgriskdataReportAPIRequest 无线保镖SDK风控数据上报 API请求 alibaba.security.jaq.wsgriskdata.report

无线保镖sdk根据用户的需要,上报数据到聚安全云端

func NewAlibabaSecurityJaqWsgriskdataReportRequest

func NewAlibabaSecurityJaqWsgriskdataReportRequest() *AlibabaSecurityJaqWsgriskdataReportAPIRequest

NewAlibabaSecurityJaqWsgriskdataReportRequest 初始化AlibabaSecurityJaqWsgriskdataReportAPIRequest对象

func (AlibabaSecurityJaqWsgriskdataReportAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSecurityJaqWsgriskdataReportAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSecurityJaqWsgriskdataReportAPIRequest) GetExtParam added in v1.2.0

GetExtParam ExtParam Getter

func (AlibabaSecurityJaqWsgriskdataReportAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSecurityJaqWsgriskdataReportAPIRequest) GetWua added in v1.2.0

GetWua Wua Getter

func (*AlibabaSecurityJaqWsgriskdataReportAPIRequest) SetExtParam added in v1.2.0

SetExtParam is ExtParam Setter mtopappkey是mtop的appkey

func (*AlibabaSecurityJaqWsgriskdataReportAPIRequest) SetWua added in v1.2.0

SetWua is Wua Setter wua串

type AlibabaSecurityJaqWsgriskdataReportAPIResponse

type AlibabaSecurityJaqWsgriskdataReportAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqWsgriskdataReportAPIResponseModel
}

AlibabaSecurityJaqWsgriskdataReportAPIResponse 无线保镖SDK风控数据上报 API返回值 alibaba.security.jaq.wsgriskdata.report

无线保镖sdk根据用户的需要,上报数据到聚安全云端

type AlibabaSecurityJaqWsgriskdataReportAPIResponseModel added in v1.2.0

type AlibabaSecurityJaqWsgriskdataReportAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_wsgriskdata_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 无线保镖sdk上报数据的返回结果
	JaqWsgRiskReportResult *JaqWsgReportResult `json:"jaq_wsg_risk_report_result,omitempty" xml:"jaq_wsg_risk_report_result,omitempty"`
}

AlibabaSecurityJaqWsgriskdataReportAPIResponseModel is 无线保镖SDK风控数据上报 成功返回结果

type AppInfoBatch

type AppInfoBatch struct {
	// 需要扫描的应用的具体信息列表
	ScanInfos []AppInfoBatchItem `json:"scan_infos,omitempty" xml:"scan_infos>app_info_batch_item,omitempty"`
	// 回调地址,dataType=4时必填,用于处理完成后反向通知,通知为GET请求,请求格式:  callbackUrl+"?itemId=xxx&taskStatus=1"
	CallbackUrl string `json:"callback_url,omitempty" xml:"callback_url,omitempty"`
	// APP应用类型 1-android 2-ios(暂不支持)
	AppOsType int64 `json:"app_os_type,omitempty" xml:"app_os_type,omitempty"`
	// APP数据类型 3-Batch MD5 4-Batch URL(暂不支持)
	DataType int64 `json:"data_type,omitempty" xml:"data_type,omitempty"`
}

AppInfoBatch 结构体

type AppInfoBatchItem

type AppInfoBatchItem struct {
	// 待扫描的应用信息dataType=3时填应用的md5 dataType=4时填应用的url
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 应用的md5,dataType=4时必填
	Md5 string `json:"md5,omitempty" xml:"md5,omitempty"`
	// 应用的大小(单位byte),dataType=4时必填
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
}

AppInfoBatchItem 结构体

type CaptchaCheckData

type CaptchaCheckData struct {
	// 发起端上验证需要的信息
	CaptchaClientNeedInfo string `json:"captcha_client_need_info,omitempty" xml:"captcha_client_need_info,omitempty"`
	// 推荐的验证类型,0-放行 1-短信下行 2-语音验证 3-滑动验证 4-实人认证  32-综合(滑动+语音) 9-阻断
	CaptchaType int64 `json:"captcha_type,omitempty" xml:"captcha_type,omitempty"`
}

CaptchaCheckData 结构体

type ChannelAppInfo

type ChannelAppInfo struct {
	// 渠道名称,多渠道加固才有值
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 加固后的APP下载地址
	AppUrl string `json:"app_url,omitempty" xml:"app_url,omitempty"`
}

ChannelAppInfo 结构体

type DiAfiResult added in v1.2.5

type DiAfiResult struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 用户参数
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 信息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

DiAfiResult 结构体

type Element

type Element struct {
	// 名称, 常用名称:姓名(Name); 身份证(Identity_Code); 手机(Mobile); 身份证正面(Identity_Front_Pic);身份证背面(Identity_back_pic);半身照(UpperBody_pic);地址(Address)
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 值,如果为oss地址,格式如下oss://bucketname:xxxx.jpg
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 类型, 如果是姓名,身份证,则是ValueType;如果是图片则是PhotoType;如果是JSON格式,则是JsonType
	ValueMeta string `json:"value_meta,omitempty" xml:"value_meta,omitempty"`
}

Element 结构体

type Elements

type Elements struct {
	// 材料值类型
	ValueMeta string `json:"value_meta,omitempty" xml:"value_meta,omitempty"`
	// url
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 材料名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

Elements 结构体

type FakeAppDetail

type FakeAppDetail struct {
	// 仿冒应用下载地址列表(混淆后的URL)
	DownloadUrls []string `json:"download_urls,omitempty" xml:"download_urls>string,omitempty"`
	// 仿冒应用名称
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// 仿冒应用包名
	PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"`
	// 仿冒应用感染用户数
	InfectedUsers int64 `json:"infected_users,omitempty" xml:"infected_users,omitempty"`
}

FakeAppDetail 结构体

type FakeAppFullInfo

type FakeAppFullInfo struct {
	// 仿冒应用列表(任务完成时才返回)
	FakeAppDetails []FakeAppDetail `json:"fake_app_details,omitempty" xml:"fake_app_details>fake_app_detail,omitempty"`
	// 仿冒应用总数(任务完成时才返回)
	FakeAppCount int64 `json:"fake_app_count,omitempty" xml:"fake_app_count,omitempty"`
	// 子任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 仿冒应用感染用户总数(任务完成时才返回)
	TotalInfectedUsers int64 `json:"total_infected_users,omitempty" xml:"total_infected_users,omitempty"`
}

FakeAppFullInfo 结构体

type FakeAppSummary

type FakeAppSummary struct {
	// 仿冒应用总数(任务完成时才返回)
	FakeAppCount int64 `json:"fake_app_count,omitempty" xml:"fake_app_count,omitempty"`
	// 子任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 仿冒应用感染用户总数(任务完成时才返回)
	TotalInfectedUsers int64 `json:"total_infected_users,omitempty" xml:"total_infected_users,omitempty"`
}

FakeAppSummary 结构体

type JaqAccountRiskData

type JaqAccountRiskData struct {
	// 详情列表
	Detail []JaqAccountRiskDetailItem `json:"detail,omitempty" xml:"detail>jaq_account_risk_detail_item,omitempty"`
	// 详情列表
	DetailList []JaqAccountRiskDetailItem `json:"detail_list,omitempty" xml:"detail_list>jaq_account_risk_detail_item,omitempty"`
	// 事件id
	EventId string `json:"event_id,omitempty" xml:"event_id,omitempty"`
	// 综合风险描述
	FinalDesc string `json:"final_desc,omitempty" xml:"final_desc,omitempty"`
	// 注册用户id
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// umid
	Umid string `json:"umid,omitempty" xml:"umid,omitempty"`
	// 触发验证所需的信息
	CaptchaCheckData *CaptchaCheckData `json:"captcha_check_data,omitempty" xml:"captcha_check_data,omitempty"`
	// 最终决定。0:可以接受;1:应该拒绝;2:需要人工审核
	FinalDecision int64 `json:"final_decision,omitempty" xml:"final_decision,omitempty"`
	// 最终得分
	FinalScore int64 `json:"final_score,omitempty" xml:"final_score,omitempty"`
}

JaqAccountRiskData 结构体

type JaqAccountRiskDetailItem

type JaqAccountRiskDetailItem struct {
	// rule id
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// rule name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 决定,0:可以接受;1:应该拒绝;2:需要人工审查
	Decision int64 `json:"decision,omitempty" xml:"decision,omitempty"`
	// 分数
	Score int64 `json:"score,omitempty" xml:"score,omitempty"`
}

JaqAccountRiskDetailItem 结构体

type JaqAccountRiskResult

type JaqAccountRiskResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 风控结果的真正数据内容
	Data *JaqAccountRiskData `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

JaqAccountRiskResult 结构体

type JaqDispatchParam

type JaqDispatchParam struct {
	// 事件ID
	EventId string `json:"event_id,omitempty" xml:"event_id,omitempty"`
	// 协议版本号
	ProtocolVersion string `json:"protocol_version,omitempty" xml:"protocol_version,omitempty"`
	// 下发的软token密文
	Rtken string `json:"rtken,omitempty" xml:"rtken,omitempty"`
	// 下发的软token索引
	RtkenIndex string `json:"rtken_index,omitempty" xml:"rtken_index,omitempty"`
}

JaqDispatchParam 结构体

type JaqFeedBackResult

type JaqFeedBackResult struct {
	// feedBack返回信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

JaqFeedBackResult 结构体

type JaqImageDetectResult

type JaqImageDetectResult struct {
	// 异步请求任务状态;TaskProcessSuccess - 图片异步api请求task状态, 处理成功 TaskProcessing - 图片异步api请求task状态, 正在处理中 TaskInvalid - 图片异步api请求task状态, 无效task或者task不存在 TaskProcessFailed - 图片异步api请求task状态, 处理失败
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// taskId
	TaskId string `json:"task_id,omitempty" xml:"task_id,omitempty"`
	// 图像字符识别结果结构体
	JaqOcrImageDetectResult *JaqOcrImageDetectResult `json:"jaq_ocr_image_detect_result,omitempty" xml:"jaq_ocr_image_detect_result,omitempty"`
}

JaqImageDetectResult 结构体

type JaqImageDetectResultCollection

type JaqImageDetectResultCollection struct {
	// 响应消息结构体
	JaqImageDetectResultList []JaqImageDetectResult `json:"jaq_image_detect_result_list,omitempty" xml:"jaq_image_detect_result_list>jaq_image_detect_result,omitempty"`
}

JaqImageDetectResultCollection 结构体

type JaqOcrImageDetectResult

type JaqOcrImageDetectResult struct {
	// 字符串列表,内容是图像中文字的主要段落内容(按照概率输出最多5组概率最大的组合)
	Texts []string `json:"texts,omitempty" xml:"texts>string,omitempty"`
}

JaqOcrImageDetectResult 结构体

type JaqPornImageDetectResult

type JaqPornImageDetectResult struct {
	// 0表示正常,1表示色情,2表示未确认。用户可以根据自己的场景采信这个值(注:根据图片样本的不断积累,动态调整建议值的阈值设定)
	Rate string `json:"rate,omitempty" xml:"rate,omitempty"`
	// 0~100范围的一个浮点值,越接近100,表示色情图像的概率越高(精度到小数点后2位)
	Label int64 `json:"label,omitempty" xml:"label,omitempty"`
}

JaqPornImageDetectResult 结构体

type JaqResourceResult

type JaqResourceResult struct {
	// 请求事件唯一标识
	EventId string `json:"event_id,omitempty" xml:"event_id,omitempty"`
	// 资源包的md5
	Md5 string `json:"md5,omitempty" xml:"md5,omitempty"`
	// 资源的cdn下载链接
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 资源版本号
	Version string `json:"version,omitempty" xml:"version,omitempty"`
}

JaqResourceResult 结构体

type JaqSecondCheckResult

type JaqSecondCheckResult struct {
	// 验证检查结果 1-验证成功 2-验证失败
	SecondCheckResult int64 `json:"second_check_result,omitempty" xml:"second_check_result,omitempty"`
}

JaqSecondCheckResult 结构体

type JaqSendCaptchaResult

type JaqSendCaptchaResult struct {
	// 扩展字段,格式为JSON字符串,由于出参“滚小球”等验证方式所需的额外出参,例如小球位置坐标等,请参考示例
	ExtendData string `json:"extend_data,omitempty" xml:"extend_data,omitempty"`
	// 验证码会话ID
	SessionId string `json:"session_id,omitempty" xml:"session_id,omitempty"`
	// 安全验证前向化下发参数结构体
	JaqDispatchParam *JaqDispatchParam `json:"jaq_dispatch_param,omitempty" xml:"jaq_dispatch_param,omitempty"`
	// 验证发起请求是否调用成功(及状态),约定正值为成功,负值为失败
	SendStatus int64 `json:"send_status,omitempty" xml:"send_status,omitempty"`
}

JaqSendCaptchaResult 结构体

type JaqVerifyCaptchaResult

type JaqVerifyCaptchaResult struct {
	// 扩展字段,格式为JSON字符串,当前为预留字段
	ExtendData string `json:"extend_data,omitempty" xml:"extend_data,omitempty"`
	// 安全验证前向化下发参数结构体
	JaqDispatchParam *JaqDispatchParam `json:"jaq_dispatch_param,omitempty" xml:"jaq_dispatch_param,omitempty"`
	// 验证检查请求是否调用成功(及状态),约定正值为成功,负值为失败
	VerifyStatus int64 `json:"verify_status,omitempty" xml:"verify_status,omitempty"`
}

JaqVerifyCaptchaResult 结构体

type JaqWsgReportResult

type JaqWsgReportResult struct {
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 生成的token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// 错误码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 安全验证前向化下发参数结构体
	JaqDispatchParam *JaqDispatchParam `json:"jaq_dispatch_param,omitempty" xml:"jaq_dispatch_param,omitempty"`
}

JaqWsgReportResult 结构体

type Locale

type Locale struct {
	// 国家代码(参考ISO-3166)
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 语言代码(参考ISO-639)
	Language string `json:"language,omitempty" xml:"language,omitempty"`
}

Locale 结构体

type MalwareCount

type MalwareCount struct {
	// 高风险恶意代码数量
	HighLevel int64 `json:"high_level,omitempty" xml:"high_level,omitempty"`
	// 低风险恶意代码数量
	LowLevel int64 `json:"low_level,omitempty" xml:"low_level,omitempty"`
	// 恶意代码总数量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 若风险恶意代码数量
	WeakLevel int64 `json:"weak_level,omitempty" xml:"weak_level,omitempty"`
}

MalwareCount 结构体

type MalwareDetail

type MalwareDetail struct {
	// 恶意代码详细描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 恶意代码风险级别: High-高 Low-低
	Level string `json:"level,omitempty" xml:"level,omitempty"`
	// 恶意代码名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 恶意代码类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
}

MalwareDetail 结构体

type MalwareFullInfo

type MalwareFullInfo struct {
	// 恶意代码列表(任务完成时才返回)
	MalwareDetails []MalwareDetail `json:"malware_details,omitempty" xml:"malware_details>malware_detail,omitempty"`
	// 恶意代码数量信息(任务完成时才返回)
	MalwareCount *MalwareCount `json:"malware_count,omitempty" xml:"malware_count,omitempty"`
	// 子任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

MalwareFullInfo 结构体

type MalwareSummary

type MalwareSummary struct {
	// 恶意代码数量信息(任务完成时才返回)
	MalwareCount *MalwareCount `json:"malware_count,omitempty" xml:"malware_count,omitempty"`
	// 子任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

MalwareSummary 结构体

type ObfuscateResult

type ObfuscateResult struct {
	// 总混淆率
	ObfuscatedPercent string `json:"obfuscated_percent,omitempty" xml:"obfuscated_percent,omitempty"`
	// 总的类数量
	TotalClasses int64 `json:"total_classes,omitempty" xml:"total_classes,omitempty"`
	// 总的成员变量数量
	TotalFields int64 `json:"total_fields,omitempty" xml:"total_fields,omitempty"`
	// 总的方法数量
	TotalMethods int64 `json:"total_methods,omitempty" xml:"total_methods,omitempty"`
	// 混淆类的数量
	ObfuscatedClasses int64 `json:"obfuscated_classes,omitempty" xml:"obfuscated_classes,omitempty"`
	// 混淆成员变量的数量
	ObfuscatedFields int64 `json:"obfuscated_fields,omitempty" xml:"obfuscated_fields,omitempty"`
	// 混淆方法的数量
	ObfuscatedMethods int64 `json:"obfuscated_methods,omitempty" xml:"obfuscated_methods,omitempty"`
}

ObfuscateResult 结构体

type OfficialAppApplyRequest

type OfficialAppApplyRequest struct {
	// 应用下载地址
	AppUrl string `json:"app_url,omitempty" xml:"app_url,omitempty"`
	// 应用名
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// 应用包名
	PkgName string `json:"pkg_name,omitempty" xml:"pkg_name,omitempty"`
	// 应用官网地址
	Website string `json:"website,omitempty" xml:"website,omitempty"`
	// 开发者名称,企业开发者为公司名称
	Developer string `json:"developer,omitempty" xml:"developer,omitempty"`
	// 应用安装包的MD5或SHA1
	AppHash string `json:"app_hash,omitempty" xml:"app_hash,omitempty"`
	// 应用证书指纹的MD5
	CertMd5 string `json:"cert_md5,omitempty" xml:"cert_md5,omitempty"`
	// 官方版本类型 1-官方正式 2-官方开发版本
	OfficialType int64 `json:"official_type,omitempty" xml:"official_type,omitempty"`
}

OfficialAppApplyRequest 结构体

type OfficialAppApplyResponse

type OfficialAppApplyResponse struct {
	// message
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码0-成功 400-参数错误 500-服务错误
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 提交状态 0- 提交成功 400-提交错误
	SubmitStatus int64 `json:"submit_status,omitempty" xml:"submit_status,omitempty"`
	// 请求是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

OfficialAppApplyResponse 结构体

type OfficialAppVerifyRequest

type OfficialAppVerifyRequest struct {
	// 应用下载地址
	AppUrl string `json:"app_url,omitempty" xml:"app_url,omitempty"`
	// 应用安装包的MD5或SHA1
	AppHash string `json:"app_hash,omitempty" xml:"app_hash,omitempty"`
	// 应用证书指纹的MD5
	CertMd5 string `json:"cert_md5,omitempty" xml:"cert_md5,omitempty"`
	// 应用包名
	PgkName string `json:"pgk_name,omitempty" xml:"pgk_name,omitempty"`
}

OfficialAppVerifyRequest 结构体

type OfficialAppVerifyResponse

type OfficialAppVerifyResponse struct {
	// 应用名
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// 包名
	PkgName string `json:"pkg_name,omitempty" xml:"pkg_name,omitempty"`
	// 开发者
	Developer string `json:"developer,omitempty" xml:"developer,omitempty"`
	// message
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 证书md5
	CertMd5 string `json:"cert_md5,omitempty" xml:"cert_md5,omitempty"`
	// 查询任务状态0-处理中 1-处理完成
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 任务轮询间隔,单位毫秒
	QueryInterval int64 `json:"query_interval,omitempty" xml:"query_interval,omitempty"`
	// 错误码 400-参数错误  500-服务错误
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 0-未知 1-官方正式 2-官方开发 3-非官方应用 4-待定
	OfficialResult int64 `json:"official_result,omitempty" xml:"official_result,omitempty"`
	// 请求是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

OfficialAppVerifyResponse 结构体

type PluginDetail

type PluginDetail struct {
	// 插件行为
	Actions []string `json:"actions,omitempty" xml:"actions>string,omitempty"`
	// 插件类型
	Types []string `json:"types,omitempty" xml:"types>string,omitempty"`
	// 插件开发商
	Company string `json:"company,omitempty" xml:"company,omitempty"`
	// 插件描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 插件名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 插件位置
	Path string `json:"path,omitempty" xml:"path,omitempty"`
}

PluginDetail 结构体

type PluginFullInfo

type PluginFullInfo struct {
	// 插件详细信息
	PluginDetails []PluginDetail `json:"plugin_details,omitempty" xml:"plugin_details>plugin_detail,omitempty"`
	// 插件个数
	PluginCount int64 `json:"plugin_count,omitempty" xml:"plugin_count,omitempty"`
	// 子任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

PluginFullInfo 结构体

type PluginSummary

type PluginSummary struct {
	// 插件个数
	PluginCount int64 `json:"plugin_count,omitempty" xml:"plugin_count,omitempty"`
	// 子任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

PluginSummary 结构体

type RealNameResult

type RealNameResult struct {
	// checkCode
	CheckCode string `json:"check_code,omitempty" xml:"check_code,omitempty"`
	// checkMessage
	CheckMessage string `json:"check_message,omitempty" xml:"check_message,omitempty"`
	// match
	Match bool `json:"match,omitempty" xml:"match,omitempty"`
}

RealNameResult 结构体

type RiskDetail

type RiskDetail struct {
	// 仿冒应用信息
	FakeInfo *FakeAppFullInfo `json:"fake_info,omitempty" xml:"fake_info,omitempty"`
	// 恶意代码信息
	MalwareInfo *MalwareFullInfo `json:"malware_info,omitempty" xml:"malware_info,omitempty"`
	// 插件信息
	PluginInfo *PluginFullInfo `json:"plugin_info,omitempty" xml:"plugin_info,omitempty"`
	// 任务状态: 1-已完成,2-处理中,3-处理失败,4-处理超时
	TaskStatus int64 `json:"task_status,omitempty" xml:"task_status,omitempty"`
	// 漏洞信息
	VulnInfo *VulnFullInfo `json:"vuln_info,omitempty" xml:"vuln_info,omitempty"`
}

RiskDetail 结构体

type RiskDetailBatch

type RiskDetailBatch struct {
	// 各个应用的风险列表
	ResultInfos []RiskDetailBatchItem `json:"result_infos,omitempty" xml:"result_infos>risk_detail_batch_item,omitempty"`
	// 任务状态: 1-已完成,2-处理中,3-处理失败,4-处理超时
	TotalStatus int64 `json:"total_status,omitempty" xml:"total_status,omitempty"`
}

RiskDetailBatch 结构体

type RiskDetailBatchItem

type RiskDetailBatchItem struct {
	// app的md5
	AppIdentity string `json:"app_identity,omitempty" xml:"app_identity,omitempty"`
	// 恶意代码检测结果
	MalwareInfo *MalwareFullInfo `json:"malware_info,omitempty" xml:"malware_info,omitempty"`
	// 插件信息
	PluginInfo *PluginFullInfo `json:"plugin_info,omitempty" xml:"plugin_info,omitempty"`
	// 漏洞列表(任务完成时才返回)
	VulnInfo *VulnFullInfo `json:"vuln_info,omitempty" xml:"vuln_info,omitempty"`
}

RiskDetailBatchItem 结构体

type RiskSummary

type RiskSummary struct {
	// 仿冒应用信息
	FakeInfo *FakeAppSummary `json:"fake_info,omitempty" xml:"fake_info,omitempty"`
	// 恶意代码信息
	MalwareInfo *MalwareSummary `json:"malware_info,omitempty" xml:"malware_info,omitempty"`
	// 插件信息
	PluginInfo *PluginSummary `json:"plugin_info,omitempty" xml:"plugin_info,omitempty"`
	// 任务总状态: 1-已完成,2-处理中,3-处理失败,4-处理超时
	TaskStatus int64 `json:"task_status,omitempty" xml:"task_status,omitempty"`
	// 漏洞信息
	VulnInfo *VulnSummary `json:"vuln_info,omitempty" xml:"vuln_info,omitempty"`
}

RiskSummary 结构体

type RpAuditComparisonDetail

type RpAuditComparisonDetail struct {
	// score
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// resultType
	ResultType *RpAuditType `json:"result_type,omitempty" xml:"result_type,omitempty"`
	// value
	Value *RpAuditValue `json:"value,omitempty" xml:"value,omitempty"`
}

RpAuditComparisonDetail 结构体

type RpAuditComparisonDetailBo

type RpAuditComparisonDetailBo struct {
	// 分数
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// 对比结果
	Value *RpAuditValueBo `json:"value,omitempty" xml:"value,omitempty"`
	// 类型
	ResultType *RpAuditTypeBo `json:"result_type,omitempty" xml:"result_type,omitempty"`
}

RpAuditComparisonDetailBo 结构体

type RpAuditComparisonDetailBos

type RpAuditComparisonDetailBos struct {
	// 比对分值
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// 比对结论
	Value *RpAuditValueBo `json:"value,omitempty" xml:"value,omitempty"`
	// 比对项
	ResultType *RpAuditTypeBo `json:"result_type,omitempty" xml:"result_type,omitempty"`
}

RpAuditComparisonDetailBos 结构体

type RpAuditDetails

type RpAuditDetails struct {
	// comparisonDetail
	ComparisonDetailList []RpAuditComparisonDetail `json:"comparison_detail_list,omitempty" xml:"comparison_detail_list>rp_audit_comparison_detail,omitempty"`
	// materialDetail
	MaterialDetailList []RpAuditMaterialDetail `json:"material_detail_list,omitempty" xml:"material_detail_list>rp_audit_material_detail,omitempty"`
	// 材料审核结论
	MaterialDetails []RpAuditMaterialDetail `json:"material_details,omitempty" xml:"material_details>rp_audit_material_detail,omitempty"`
	// 结果信息
	ComparisonDetails []RpAuditComparisonDetail `json:"comparison_details,omitempty" xml:"comparison_details>rp_audit_comparison_detail,omitempty"`
	// auditFinishTime
	AuditFinishTime string `json:"audit_finish_time,omitempty" xml:"audit_finish_time,omitempty"`
	// reviewDeadline
	ReviewDeadline string `json:"review_deadline,omitempty" xml:"review_deadline,omitempty"`
}

RpAuditDetails 结构体

type RpAuditDetailsBos

type RpAuditDetailsBos struct {
	// 比对审核结论
	ComparisonDetails []RpAuditComparisonDetailBos `json:"comparison_details,omitempty" xml:"comparison_details>rp_audit_comparison_detail_bos,omitempty"`
	// 材料审核结论
	MaterialDetails []RpAuditMaterialDetailBos `json:"material_details,omitempty" xml:"material_details>rp_audit_material_detail_bos,omitempty"`
	// 预计审核结束时间
	AuditFinishTime string `json:"audit_finish_time,omitempty" xml:"audit_finish_time,omitempty"`
	// 复核截止时间
	ReviewDeadline string `json:"review_deadline,omitempty" xml:"review_deadline,omitempty"`
}

RpAuditDetailsBos 结构体

type RpAuditMaterialDetail

type RpAuditMaterialDetail struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// display
	Display string `json:"display,omitempty" xml:"display,omitempty"`
	// materialType
	MaterialType string `json:"material_type,omitempty" xml:"material_type,omitempty"`
	// suggestion
	Suggestion string `json:"suggestion,omitempty" xml:"suggestion,omitempty"`
	// text
	Text string `json:"text,omitempty" xml:"text,omitempty"`
	// type
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// intercept
	Intercept bool `json:"intercept,omitempty" xml:"intercept,omitempty"`
	// security
	Security bool `json:"security,omitempty" xml:"security,omitempty"`
}

RpAuditMaterialDetail 结构体

type RpAuditMaterialDetailBos

type RpAuditMaterialDetailBos struct {
	// 给用户的建议
	Suggestion string `json:"suggestion,omitempty" xml:"suggestion,omitempty"`
	// 外化给用户的文案
	Display string `json:"display,omitempty" xml:"display,omitempty"`
	// 材料结论文本描述
	Text string `json:"text,omitempty" xml:"text,omitempty"`
	// 材料结论编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 材料结论分类
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 材料类别
	MaterialType string `json:"material_type,omitempty" xml:"material_type,omitempty"`
	// 是否安全问题
	Security bool `json:"security,omitempty" xml:"security,omitempty"`
	// intercept
	Intercept bool `json:"intercept,omitempty" xml:"intercept,omitempty"`
}

RpAuditMaterialDetailBos 结构体

type RpAuditResult

type RpAuditResult struct {
	// 审核比对信息
	Results []RpAuditComparisonDetailBo `json:"results,omitempty" xml:"results>rp_audit_comparison_detail_bo,omitempty"`
	// biz
	Biz string `json:"biz,omitempty" xml:"biz,omitempty"`
	// reviewType
	ReviewType string `json:"review_type,omitempty" xml:"review_type,omitempty"`
	// auditStatus
	AuditStatus *RpAuditStatus `json:"audit_status,omitempty" xml:"audit_status,omitempty"`
	// curGrade
	CurGrade *RpGrade `json:"cur_grade,omitempty" xml:"cur_grade,omitempty"`
	// requireGrade
	RequireGrade *RpGrade `json:"require_grade,omitempty" xml:"require_grade,omitempty"`
	// rpAuditDetails
	RpAuditDetails *RpAuditDetails `json:"rp_audit_details,omitempty" xml:"rp_audit_details,omitempty"`
	// rpUserResult
	RpUserResult *RpUserResult `json:"rp_user_result,omitempty" xml:"rp_user_result,omitempty"`
	// gradeCertified
	GradeCertified bool `json:"grade_certified,omitempty" xml:"grade_certified,omitempty"`
	// reviewStatus
	ReviewStatus bool `json:"review_status,omitempty" xml:"review_status,omitempty"`
}

RpAuditResult 结构体

type RpAuditResultBo

type RpAuditResultBo struct {
	// 当前的biz
	Biz string `json:"biz,omitempty" xml:"biz,omitempty"`
	// 复核类型
	ReviewType string `json:"review_type,omitempty" xml:"review_type,omitempty"`
	// 要求的实人级别
	RequireGrade *RpGradeBo `json:"require_grade,omitempty" xml:"require_grade,omitempty"`
	// 当前的实人级别
	CurGrade *RpGradeBo `json:"cur_grade,omitempty" xml:"cur_grade,omitempty"`
	// 当前的审核状态
	AuditStatus *RpAuditStatusBo `json:"audit_status,omitempty" xml:"audit_status,omitempty"`
	// 结果信息
	RpAuditDetails *RpAuditDetails `json:"rp_audit_details,omitempty" xml:"rp_audit_details,omitempty"`
	// 复核状态被置位
	ReviewStatus bool `json:"review_status,omitempty" xml:"review_status,omitempty"`
	// 如果 curGrade 和 requireGrade 相同则 gradeCertified 返回 true, 相反则返回false
	GradeCertified bool `json:"grade_certified,omitempty" xml:"grade_certified,omitempty"`
}

RpAuditResultBo 结构体

type RpAuditStatus

type RpAuditStatus struct {
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

RpAuditStatus 结构体

type RpAuditStatusBo

type RpAuditStatusBo struct {
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

RpAuditStatusBo 结构体

type RpAuditType

type RpAuditType struct {
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

RpAuditType 结构体

type RpAuditTypeBo

type RpAuditTypeBo struct {
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

RpAuditTypeBo 结构体

type RpAuditValue

type RpAuditValue struct {
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

RpAuditValue 结构体

type RpAuditValueBo

type RpAuditValueBo struct {
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

RpAuditValueBo 结构体

type RpClientInfo

type RpClientInfo struct {
	// appKey
	AppKeyInfo string `json:"app_key_info,omitempty" xml:"app_key_info,omitempty"`
	// 应用名
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// 应用版本
	AppVersion string `json:"app_version,omitempty" xml:"app_version,omitempty"`
	// 剩余内存
	AvailableMemory string `json:"available_memory,omitempty" xml:"available_memory,omitempty"`
	// 客户端类别
	ClientType string `json:"client_type,omitempty" xml:"client_type,omitempty"`
	// 架构
	CpuArch string `json:"cpu_arch,omitempty" xml:"cpu_arch,omitempty"`
	// 原始设备号
	DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"`
	// xxx
	ExtendMap string `json:"extend_map,omitempty" xml:"extend_map,omitempty"`
	// ip地址
	Ip string `json:"ip,omitempty" xml:"ip,omitempty"`
	// 活体sdk名字
	LivenessSdkName string `json:"liveness_sdk_name,omitempty" xml:"liveness_sdk_name,omitempty"`
	// 活体sdk版本
	LivenessSdkVersion string `json:"liveness_sdk_version,omitempty" xml:"liveness_sdk_version,omitempty"`
	// 制造商
	Manufacturer string `json:"manufacturer,omitempty" xml:"manufacturer,omitempty"`
	// 手机型号
	MobileModel string `json:"mobile_model,omitempty" xml:"mobile_model,omitempty"`
	// 客户端OS名称
	OsName string `json:"os_name,omitempty" xml:"os_name,omitempty"`
	// os版本号
	OsVersion string `json:"os_version,omitempty" xml:"os_version,omitempty"`
	// 认证SDK名字
	RpSdkName string `json:"rp_sdk_name,omitempty" xml:"rp_sdk_name,omitempty"`
	// 认证SDK版本号
	RpSdkVersion string `json:"rp_sdk_version,omitempty" xml:"rp_sdk_version,omitempty"`
	// session_id
	SessionId string `json:"session_id,omitempty" xml:"session_id,omitempty"`
	// 支持
	SupportNeon string `json:"support_neon,omitempty" xml:"support_neon,omitempty"`
	// 时间戳
	TimestampInfo string `json:"timestamp_info,omitempty" xml:"timestamp_info,omitempty"`
	// 总内存
	TotalMemory string `json:"total_memory,omitempty" xml:"total_memory,omitempty"`
	// umid
	Umid string `json:"umid,omitempty" xml:"umid,omitempty"`
	// umid_token
	UmidToken string `json:"umid_token,omitempty" xml:"umid_token,omitempty"`
	// 无线端用于风控的wua数据
	Wua string `json:"wua,omitempty" xml:"wua,omitempty"`
	// 无线端用于风控的token
	WuaToken string `json:"wua_token,omitempty" xml:"wua_token,omitempty"`
}

RpClientInfo 结构体

type RpErrorCode

type RpErrorCode struct {
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// errorName
	ErrorName string `json:"error_name,omitempty" xml:"error_name,omitempty"`
	// errorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

RpErrorCode 结构体

type RpEventResult

type RpEventResult struct {
	// verifyLimitedFlag
	VerifyLimitedFlag bool `json:"verify_limited_flag,omitempty" xml:"verify_limited_flag,omitempty"`
}

RpEventResult 结构体

type RpGrade

type RpGrade struct {
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// level
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
}

RpGrade 结构体

type RpGradeBo

type RpGradeBo struct {
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// level
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
}

RpGradeBo 结构体

type RpInitResultBo

type RpInitResultBo struct {
	// token
	VerifyToken string `json:"verify_token,omitempty" xml:"verify_token,omitempty"`
	// 过期时间
	Expire int64 `json:"expire,omitempty" xml:"expire,omitempty"`
}

RpInitResultBo 结构体

type RpProperty

type RpProperty struct {
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

RpProperty 结构体

type RpSex

type RpSex struct {
	// type
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

RpSex 结构体

type RpStartResult

type RpStartResult struct {
	// steps
	Steps []RpStepItem `json:"steps,omitempty" xml:"steps>rp_step_item,omitempty"`
	// biz
	Biz string `json:"biz,omitempty" xml:"biz,omitempty"`
	// extraInfo
	ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"`
	// source
	Source string `json:"source,omitempty" xml:"source,omitempty"`
	// uploadToken
	UploadToken *StsUploadToken `json:"upload_token,omitempty" xml:"upload_token,omitempty"`
}

RpStartResult 结构体

type RpStatusResultBo

type RpStatusResultBo struct {
	// 对应的bizId
	Biz string `json:"biz,omitempty" xml:"biz,omitempty"`
	// 复核类型
	ReviewType string `json:"review_type,omitempty" xml:"review_type,omitempty"`
	// 实人等级
	CurGrade *RpGradeBo `json:"cur_grade,omitempty" xml:"cur_grade,omitempty"`
	// 要求达到的实人等级
	RequireGrade *RpGradeBo `json:"require_grade,omitempty" xml:"require_grade,omitempty"`
	// 审核详细信息
	RpAuditDetails *RpAuditDetailsBos `json:"rp_audit_details,omitempty" xml:"rp_audit_details,omitempty"`
	// 审核状态信息
	RpAuditStatus *RpAuditStatusBo `json:"rp_audit_status,omitempty" xml:"rp_audit_status,omitempty"`
	// 如果 curGrade 和 requireGrade 相同则 gradeCertified 返回 true,相反则返回false
	GradeCertified bool `json:"grade_certified,omitempty" xml:"grade_certified,omitempty"`
	// 复核状态被置位
	ReviewStatus bool `json:"review_status,omitempty" xml:"review_status,omitempty"`
}

RpStatusResultBo 结构体

type RpStepItem

type RpStepItem struct {
	// properties
	Properties []RpStepProperty `json:"properties,omitempty" xml:"properties>rp_step_property,omitempty"`
	// jsonAssist
	JsonAssist string `json:"json_assist,omitempty" xml:"json_assist,omitempty"`
	// stepType
	StepType *RpStepType `json:"step_type,omitempty" xml:"step_type,omitempty"`
}

RpStepItem 结构体

type RpStepProperty

type RpStepProperty struct {
	// property
	Property *RpProperty `json:"property,omitempty" xml:"property,omitempty"`
	// optional
	Optional bool `json:"optional,omitempty" xml:"optional,omitempty"`
	// 是否可选
	IsOptional bool `json:"is_optional,omitempty" xml:"is_optional,omitempty"`
}

RpStepProperty 结构体

type RpStepType

type RpStepType struct {
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

RpStepType 结构体

type RpSubmitResult

type RpSubmitResult struct {
	// steps
	Steps []RpStepItem `json:"steps,omitempty" xml:"steps>rp_step_item,omitempty"`
	// extraInfo
	ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"`
	// rpAuditResult
	RpAuditResult *RpAuditResult `json:"rp_audit_result,omitempty" xml:"rp_audit_result,omitempty"`
	// uploadToken
	UploadToken *StsUploadToken `json:"upload_token,omitempty" xml:"upload_token,omitempty"`
}

RpSubmitResult 结构体

type RpUploadResult

type RpUploadResult struct {
	// uploadId
	UploadId string `json:"upload_id,omitempty" xml:"upload_id,omitempty"`
	// uploadStatus
	UploadStatus *RpUploadStatus `json:"upload_status,omitempty" xml:"upload_status,omitempty"`
}

RpUploadResult 结构体

type RpUploadStatus

type RpUploadStatus struct {
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

RpUploadStatus 结构体

type RpUserResult

type RpUserResult struct {
	// users
	Users []string `json:"users,omitempty" xml:"users>string,omitempty"`
}

RpUserResult 结构体

type RpidCard

type RpidCard struct {
	// address
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// birthDay
	BirthDay string `json:"birth_day,omitempty" xml:"birth_day,omitempty"`
	// cardType
	CardType string `json:"card_type,omitempty" xml:"card_type,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// expiry
	Expiry string `json:"expiry,omitempty" xml:"expiry,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// urlBackImage
	UrlBackImage string `json:"url_back_image,omitempty" xml:"url_back_image,omitempty"`
	// urlFrontImage
	UrlFrontImage string `json:"url_front_image,omitempty" xml:"url_front_image,omitempty"`
	// RPIDCardImage
	RpIdcardImage *RpidCardImage `json:"rp_idcard_image,omitempty" xml:"rp_idcard_image,omitempty"`
	// bizErrorCode
	BizErrorCode *RpErrorCode `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// sex
	Sex *RpSex `json:"sex,omitempty" xml:"sex,omitempty"`
}

RpidCard 结构体

type RpidCardBo

type RpidCardBo struct {
	// 类型
	CardType string `json:"card_type,omitempty" xml:"card_type,omitempty"`
	// 身份证背面照的URL地址
	UrlBackImage string `json:"url_back_image,omitempty" xml:"url_back_image,omitempty"`
	// 身份证正面照的URL地址
	UrlFrontImage string `json:"url_front_image,omitempty" xml:"url_front_image,omitempty"`
	// 身份证上生日
	BirthDay string `json:"birth_day,omitempty" xml:"birth_day,omitempty"`
	// 身份证住址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 身份证上的名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 公民身份证号码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 性别
	Sex *RpSex `json:"sex,omitempty" xml:"sex,omitempty"`
	// RPIDCardImage
	RPIDCardImage *RpidCardImage `json:"r_p_i_d_card_image,omitempty" xml:"r_p_i_d_card_image,omitempty"`
}

RpidCardBo 结构体

type RpidCardImage

type RpidCardImage struct {
	// backImageUrl
	BackImageUrl string `json:"back_image_url,omitempty" xml:"back_image_url,omitempty"`
	// cardType
	CardType string `json:"card_type,omitempty" xml:"card_type,omitempty"`
	// frontImageUrl
	FrontImageUrl string `json:"front_image_url,omitempty" xml:"front_image_url,omitempty"`
}

RpidCardImage 结构体

type ScanAppInfo

type ScanAppInfo struct {
	// 任务处理完成后的反向通知回调地址,请不要使用ip地址,可能会无法回调,dataType=1时必填,通知为GET请求,请求URL: callbackUrl+"?item_id=xxx&task_status=1"; item_id为应用加固/风险扫描接口返回的任务ID; task_status为任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时; 对于应用加固,接收到通知后如果task_status为1则可通过对应的查询接口查询加固/扫描结果; 对于应用风险扫描,如果task_status为1,3,4均可通过对应查询接口查询到结果,但不包括失败的扫描项的结果
	CallbackUrl string `json:"callback_url,omitempty" xml:"callback_url,omitempty"`
	// APP数据  dataType=1时填写 App包的下载地址;  dataType=2时填写 App包的md5值
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// APP包的MD5值,dataType=1时必填,用于文件校验
	Md5 string `json:"md5,omitempty" xml:"md5,omitempty"`
	// app 类型,1-apk, 2-ipa(暂不支持)
	AppOsType int64 `json:"app_os_type,omitempty" xml:"app_os_type,omitempty"`
	// APP数据类型 1-App URL 2-App MD5,应用加固仅支持1,风险扫描支持1和2
	DataType int64 `json:"data_type,omitempty" xml:"data_type,omitempty"`
	// APP包大小(单位:字节),dataType=1时必填,用于文件校验
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
}

ScanAppInfo 结构体

type ScanTaskInfo

type ScanTaskInfo struct {
	// 任务唯一标识
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 任务处理进度: 1-处理完成 (可立即通过对应的查询接口查询处理结果), 2-异步处理中(需等待app_info.callback_url接收到反向通知后再查询结果) ; 对于app_info.data_type为1目前都是异步处理,此字段返回2; 对于app_info.data_type为2目前都是同步处理,此字段返回1
	Progress int64 `json:"progress,omitempty" xml:"progress,omitempty"`
}

ScanTaskInfo 结构体

type ShieldChannel

type ShieldChannel struct {
	// 渠道名称列表
	Values []string `json:"values,omitempty" xml:"values>string,omitempty"`
	// AndroidManifest.xml 中用于表示渠道信息的meta-data标签的android:name
	MetaName string `json:"meta_name,omitempty" xml:"meta_name,omitempty"`
}

ShieldChannel 结构体

type ShieldResult

type ShieldResult struct {
	// 加固后的应用列表(任务完成时才返回)  普通加固时只有1个文件,多渠道加固时每个渠道1个文件
	AppList []ChannelAppInfo `json:"app_list,omitempty" xml:"app_list>channel_app_info,omitempty"`
	// 加固出错的详细信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 混淆后的map文件的地址
	MapUrl string `json:"map_url,omitempty" xml:"map_url,omitempty"`
	// 任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
	TaskStatus int64 `json:"task_status,omitempty" xml:"task_status,omitempty"`
	// 混淆率计算返回结果
	ObfuscateResult *ObfuscateResult `json:"obfuscate_result,omitempty" xml:"obfuscate_result,omitempty"`
}

ShieldResult 结构体

type StsUploadToken

type StsUploadToken struct {
	// accessKeyId
	AccessKeyId string `json:"access_key_id,omitempty" xml:"access_key_id,omitempty"`
	// accessKeySecret
	AccessKeySecret string `json:"access_key_secret,omitempty" xml:"access_key_secret,omitempty"`
	// bucketName
	BucketName string `json:"bucket_name,omitempty" xml:"bucket_name,omitempty"`
	// endPoint
	EndPoint string `json:"end_point,omitempty" xml:"end_point,omitempty"`
	// expiration
	Expiration string `json:"expiration,omitempty" xml:"expiration,omitempty"`
	// path
	Path string `json:"path,omitempty" xml:"path,omitempty"`
	// token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
}

StsUploadToken 结构体

type TaskInfo

type TaskInfo struct {
	// 任务唯一标识
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 任务处理进度: 1-处理完成 (可立即通过对应的查询接口查询处理结果), 2-异步处理中(需等待app_info.callback_url接收到反向通知后再查询结果) ; 对于app_info.data_type为1目前都是异步处理,此字段返回2; 对于app_info.data_type为2目前都是同步处理,此字段返回1
	Progress int64 `json:"progress,omitempty" xml:"progress,omitempty"`
}

TaskInfo 结构体

type UploadStatus

type UploadStatus struct {
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

UploadStatus 结构体

type UrlScanParamItem

type UrlScanParamItem struct {
	// 需要扫描的url
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 参数标记,用于识别返回结果对应的参数
	Flag string `json:"flag,omitempty" xml:"flag,omitempty"`
}

UrlScanParamItem 结构体

type UrlScanParamList

type UrlScanParamList struct {
	// 扫描参数列表
	UrlScanParamItems []UrlScanParamItem `json:"url_scan_param_items,omitempty" xml:"url_scan_param_items>url_scan_param_item,omitempty"`
}

UrlScanParamList 结构体

type UrlScanResult

type UrlScanResult struct {
	// 扫描详细结果
	UrlResultItemList []UrlScanResultItem `json:"url_result_item_list,omitempty" xml:"url_result_item_list>url_scan_result_item,omitempty"`
	// 请求标志唯一id
	EventId string `json:"event_id,omitempty" xml:"event_id,omitempty"`
}

UrlScanResult 结构体

type UrlScanResultItem

type UrlScanResultItem struct {
	// 风险类型的描述文字
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 用户传入的flag
	Flag string `json:"flag,omitempty" xml:"flag,omitempty"`
	// 被仿冒的官方网址
	Official string `json:"official,omitempty" xml:"official,omitempty"`
	// 扫描结果码 SAFE-安全 NOT_SAFE-不安全 UN_KNOWN-未知
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// url风险类型 Phishing-钓鱼网站 Malware-恶意程序 Porn-色情网站 Gambling-赌博网站 Illegal-违法网站 Other-其他
	RiskType string `json:"risk_type,omitempty" xml:"risk_type,omitempty"`
	// 黑名单来源
	Source string `json:"source,omitempty" xml:"source,omitempty"`
	// 被钓鱼网站仿冒的对象
	Target string `json:"target,omitempty" xml:"target,omitempty"`
}

UrlScanResultItem 结构体

type VulnCount

type VulnCount struct {
	// 高风险漏洞数量
	HighLevel int64 `json:"high_level,omitempty" xml:"high_level,omitempty"`
	// 低风险漏洞数量
	LowLevel int64 `json:"low_level,omitempty" xml:"low_level,omitempty"`
	// 中风险漏洞数量
	MidLevel int64 `json:"mid_level,omitempty" xml:"mid_level,omitempty"`
	// 安全红线漏洞数量
	RedLine int64 `json:"red_line,omitempty" xml:"red_line,omitempty"`
	// 漏洞总数量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
}

VulnCount 结构体

type VulnDetail

type VulnDetail struct {
	// 漏洞位置
	Locations []string `json:"locations,omitempty" xml:"locations>string,omitempty"`
	// 漏洞风险级别: 高, 中, 低
	Level string `json:"level,omitempty" xml:"level,omitempty"`
	// 漏洞名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 漏洞修复建议
	Recommendation string `json:"recommendation,omitempty" xml:"recommendation,omitempty"`
	// 漏洞详细说明参考链接
	ReferenctLink string `json:"referenct_link,omitempty" xml:"referenct_link,omitempty"`
	// 漏洞类型码
	VulnId string `json:"vuln_id,omitempty" xml:"vuln_id,omitempty"`
	// 漏洞描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 漏洞数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 是否安全红线漏洞
	RedLine bool `json:"red_line,omitempty" xml:"red_line,omitempty"`
}

VulnDetail 结构体

type VulnFullInfo

type VulnFullInfo struct {
	// 漏洞详情列表(任务完成时才返回)
	VulnDetails []VulnDetail `json:"vuln_details,omitempty" xml:"vuln_details>vuln_detail,omitempty"`
	// 漏洞任务错误码 0-成功 其他-错误
	TaskErrorCode string `json:"task_error_code,omitempty" xml:"task_error_code,omitempty"`
	// 漏洞任务错误信息 success-成功 其他-错误
	TaskErrorMsg string `json:"task_error_msg,omitempty" xml:"task_error_msg,omitempty"`
	// 子任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 漏洞数量信息(任务完成时才返回)
	VulnCount *VulnCount `json:"vuln_count,omitempty" xml:"vuln_count,omitempty"`
}

VulnFullInfo 结构体

type VulnSummary

type VulnSummary struct {
	// 漏洞任务错误码 0-成功 其他-错误
	TaskErrorCode string `json:"task_error_code,omitempty" xml:"task_error_code,omitempty"`
	// 漏洞任务错误信息 succes-成功  其他-错误
	TaskErrorMsg string `json:"task_error_msg,omitempty" xml:"task_error_msg,omitempty"`
	// 子任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 漏洞数量信息(任务完成时才返回)
	VulnCount *VulnCount `json:"vuln_count,omitempty" xml:"vuln_count,omitempty"`
}

VulnSummary 结构体

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL