cloudauth

package
v1.63.54 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "central"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AIGCFaceVerifyRequest added in v1.62.710

type AIGCFaceVerifyRequest struct {
	*requests.RpcRequest
	ProductCode            string           `position:"Query" name:"ProductCode"`
	OssObjectName          string           `position:"Query" name:"OssObjectName"`
	FaceContrastPicture    string           `position:"Body" name:"FaceContrastPicture"`
	OuterOrderNo           string           `position:"Query" name:"OuterOrderNo"`
	FaceContrastPictureUrl string           `position:"Query" name:"FaceContrastPictureUrl"`
	SceneId                requests.Integer `position:"Query" name:"SceneId"`
	OssBucketName          string           `position:"Query" name:"OssBucketName"`
}

AIGCFaceVerifyRequest is the request struct for api AIGCFaceVerify

func CreateAIGCFaceVerifyRequest added in v1.62.710

func CreateAIGCFaceVerifyRequest() (request *AIGCFaceVerifyRequest)

CreateAIGCFaceVerifyRequest creates a request to invoke AIGCFaceVerify API

type AIGCFaceVerifyResponse added in v1.62.710

type AIGCFaceVerifyResponse struct {
	*responses.BaseResponse
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	Message      string       `json:"Message" xml:"Message"`
	Code         string       `json:"Code" xml:"Code"`
	ResultObject ResultObject `json:"ResultObject" xml:"ResultObject"`
}

AIGCFaceVerifyResponse is the response struct for api AIGCFaceVerify

func CreateAIGCFaceVerifyResponse added in v1.62.710

func CreateAIGCFaceVerifyResponse() (response *AIGCFaceVerifyResponse)

CreateAIGCFaceVerifyResponse creates a response to parse from AIGCFaceVerify response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) AIGCFaceVerify added in v1.62.710

func (client *Client) AIGCFaceVerify(request *AIGCFaceVerifyRequest) (response *AIGCFaceVerifyResponse, err error)

AIGCFaceVerify invokes the cloudauth.AIGCFaceVerify API synchronously

func (*Client) AIGCFaceVerifyWithCallback added in v1.62.710

func (client *Client) AIGCFaceVerifyWithCallback(request *AIGCFaceVerifyRequest, callback func(response *AIGCFaceVerifyResponse, err error)) <-chan int

AIGCFaceVerifyWithCallback invokes the cloudauth.AIGCFaceVerify API asynchronously

func (*Client) AIGCFaceVerifyWithChan added in v1.62.710

func (client *Client) AIGCFaceVerifyWithChan(request *AIGCFaceVerifyRequest) (<-chan *AIGCFaceVerifyResponse, <-chan error)

AIGCFaceVerifyWithChan invokes the cloudauth.AIGCFaceVerify API asynchronously

func (*Client) CompareFaceVerify added in v1.61.155

func (client *Client) CompareFaceVerify(request *CompareFaceVerifyRequest) (response *CompareFaceVerifyResponse, err error)

CompareFaceVerify invokes the cloudauth.CompareFaceVerify API synchronously

func (*Client) CompareFaceVerifyWithCallback added in v1.61.155

func (client *Client) CompareFaceVerifyWithCallback(request *CompareFaceVerifyRequest, callback func(response *CompareFaceVerifyResponse, err error)) <-chan int

CompareFaceVerifyWithCallback invokes the cloudauth.CompareFaceVerify API asynchronously

func (*Client) CompareFaceVerifyWithChan added in v1.61.155

func (client *Client) CompareFaceVerifyWithChan(request *CompareFaceVerifyRequest) (<-chan *CompareFaceVerifyResponse, <-chan error)

CompareFaceVerifyWithChan invokes the cloudauth.CompareFaceVerify API asynchronously

func (*Client) CompareFaces

func (client *Client) CompareFaces(request *CompareFacesRequest) (response *CompareFacesResponse, err error)

CompareFaces invokes the cloudauth.CompareFaces API synchronously

func (*Client) CompareFacesWithCallback

func (client *Client) CompareFacesWithCallback(request *CompareFacesRequest, callback func(response *CompareFacesResponse, err error)) <-chan int

CompareFacesWithCallback invokes the cloudauth.CompareFaces API asynchronously

func (*Client) CompareFacesWithChan

func (client *Client) CompareFacesWithChan(request *CompareFacesRequest) (<-chan *CompareFacesResponse, <-chan error)

CompareFacesWithChan invokes the cloudauth.CompareFaces API asynchronously

func (*Client) ContrastFaceVerify added in v1.61.86

func (client *Client) ContrastFaceVerify(request *ContrastFaceVerifyRequest) (response *ContrastFaceVerifyResponse, err error)

ContrastFaceVerify invokes the cloudauth.ContrastFaceVerify API synchronously

func (*Client) ContrastFaceVerifyWithCallback added in v1.61.86

func (client *Client) ContrastFaceVerifyWithCallback(request *ContrastFaceVerifyRequest, callback func(response *ContrastFaceVerifyResponse, err error)) <-chan int

ContrastFaceVerifyWithCallback invokes the cloudauth.ContrastFaceVerify API asynchronously

func (*Client) ContrastFaceVerifyWithChan added in v1.61.86

func (client *Client) ContrastFaceVerifyWithChan(request *ContrastFaceVerifyRequest) (<-chan *ContrastFaceVerifyResponse, <-chan error)

ContrastFaceVerifyWithChan invokes the cloudauth.ContrastFaceVerify API asynchronously

func (*Client) CreateAuthKey

func (client *Client) CreateAuthKey(request *CreateAuthKeyRequest) (response *CreateAuthKeyResponse, err error)

CreateAuthKey invokes the cloudauth.CreateAuthKey API synchronously

func (*Client) CreateAuthKeyWithCallback

func (client *Client) CreateAuthKeyWithCallback(request *CreateAuthKeyRequest, callback func(response *CreateAuthKeyResponse, err error)) <-chan int

CreateAuthKeyWithCallback invokes the cloudauth.CreateAuthKey API asynchronously

func (*Client) CreateAuthKeyWithChan

func (client *Client) CreateAuthKeyWithChan(request *CreateAuthKeyRequest) (<-chan *CreateAuthKeyResponse, <-chan error)

CreateAuthKeyWithChan invokes the cloudauth.CreateAuthKey API asynchronously

func (*Client) CreateVerifySetting

func (client *Client) CreateVerifySetting(request *CreateVerifySettingRequest) (response *CreateVerifySettingResponse, err error)

CreateVerifySetting invokes the cloudauth.CreateVerifySetting API synchronously

func (*Client) CreateVerifySettingWithCallback

func (client *Client) CreateVerifySettingWithCallback(request *CreateVerifySettingRequest, callback func(response *CreateVerifySettingResponse, err error)) <-chan int

CreateVerifySettingWithCallback invokes the cloudauth.CreateVerifySetting API asynchronously

func (*Client) CreateVerifySettingWithChan

func (client *Client) CreateVerifySettingWithChan(request *CreateVerifySettingRequest) (<-chan *CreateVerifySettingResponse, <-chan error)

CreateVerifySettingWithChan invokes the cloudauth.CreateVerifySetting API asynchronously

func (*Client) DescribeDeviceInfo

func (client *Client) DescribeDeviceInfo(request *DescribeDeviceInfoRequest) (response *DescribeDeviceInfoResponse, err error)

DescribeDeviceInfo invokes the cloudauth.DescribeDeviceInfo API synchronously

func (*Client) DescribeDeviceInfoWithCallback

func (client *Client) DescribeDeviceInfoWithCallback(request *DescribeDeviceInfoRequest, callback func(response *DescribeDeviceInfoResponse, err error)) <-chan int

DescribeDeviceInfoWithCallback invokes the cloudauth.DescribeDeviceInfo API asynchronously

func (*Client) DescribeDeviceInfoWithChan

func (client *Client) DescribeDeviceInfoWithChan(request *DescribeDeviceInfoRequest) (<-chan *DescribeDeviceInfoResponse, <-chan error)

DescribeDeviceInfoWithChan invokes the cloudauth.DescribeDeviceInfo API asynchronously

func (*Client) DescribeFaceVerify added in v1.61.13

func (client *Client) DescribeFaceVerify(request *DescribeFaceVerifyRequest) (response *DescribeFaceVerifyResponse, err error)

DescribeFaceVerify invokes the cloudauth.DescribeFaceVerify API synchronously

func (*Client) DescribeFaceVerifyWithCallback added in v1.61.13

func (client *Client) DescribeFaceVerifyWithCallback(request *DescribeFaceVerifyRequest, callback func(response *DescribeFaceVerifyResponse, err error)) <-chan int

DescribeFaceVerifyWithCallback invokes the cloudauth.DescribeFaceVerify API asynchronously

func (*Client) DescribeFaceVerifyWithChan added in v1.61.13

func (client *Client) DescribeFaceVerifyWithChan(request *DescribeFaceVerifyRequest) (<-chan *DescribeFaceVerifyResponse, <-chan error)

DescribeFaceVerifyWithChan invokes the cloudauth.DescribeFaceVerify API asynchronously

func (*Client) DescribeOssUploadToken

func (client *Client) DescribeOssUploadToken(request *DescribeOssUploadTokenRequest) (response *DescribeOssUploadTokenResponse, err error)

DescribeOssUploadToken invokes the cloudauth.DescribeOssUploadToken API synchronously

func (*Client) DescribeOssUploadTokenWithCallback

func (client *Client) DescribeOssUploadTokenWithCallback(request *DescribeOssUploadTokenRequest, callback func(response *DescribeOssUploadTokenResponse, err error)) <-chan int

DescribeOssUploadTokenWithCallback invokes the cloudauth.DescribeOssUploadToken API asynchronously

func (*Client) DescribeOssUploadTokenWithChan

func (client *Client) DescribeOssUploadTokenWithChan(request *DescribeOssUploadTokenRequest) (<-chan *DescribeOssUploadTokenResponse, <-chan error)

DescribeOssUploadTokenWithChan invokes the cloudauth.DescribeOssUploadToken API asynchronously

func (*Client) DescribePageFaceVerifyData added in v1.62.710

func (client *Client) DescribePageFaceVerifyData(request *DescribePageFaceVerifyDataRequest) (response *DescribePageFaceVerifyDataResponse, err error)

DescribePageFaceVerifyData invokes the cloudauth.DescribePageFaceVerifyData API synchronously

func (*Client) DescribePageFaceVerifyDataWithCallback added in v1.62.710

func (client *Client) DescribePageFaceVerifyDataWithCallback(request *DescribePageFaceVerifyDataRequest, callback func(response *DescribePageFaceVerifyDataResponse, err error)) <-chan int

DescribePageFaceVerifyDataWithCallback invokes the cloudauth.DescribePageFaceVerifyData API asynchronously

func (*Client) DescribePageFaceVerifyDataWithChan added in v1.62.710

func (client *Client) DescribePageFaceVerifyDataWithChan(request *DescribePageFaceVerifyDataRequest) (<-chan *DescribePageFaceVerifyDataResponse, <-chan error)

DescribePageFaceVerifyDataWithChan invokes the cloudauth.DescribePageFaceVerifyData API asynchronously

func (*Client) DescribeSmartStatisticsPageList added in v1.62.710

func (client *Client) DescribeSmartStatisticsPageList(request *DescribeSmartStatisticsPageListRequest) (response *DescribeSmartStatisticsPageListResponse, err error)

DescribeSmartStatisticsPageList invokes the cloudauth.DescribeSmartStatisticsPageList API synchronously

func (*Client) DescribeSmartStatisticsPageListWithCallback added in v1.62.710

func (client *Client) DescribeSmartStatisticsPageListWithCallback(request *DescribeSmartStatisticsPageListRequest, callback func(response *DescribeSmartStatisticsPageListResponse, err error)) <-chan int

DescribeSmartStatisticsPageListWithCallback invokes the cloudauth.DescribeSmartStatisticsPageList API asynchronously

func (*Client) DescribeSmartStatisticsPageListWithChan added in v1.62.710

func (client *Client) DescribeSmartStatisticsPageListWithChan(request *DescribeSmartStatisticsPageListRequest) (<-chan *DescribeSmartStatisticsPageListResponse, <-chan error)

DescribeSmartStatisticsPageListWithChan invokes the cloudauth.DescribeSmartStatisticsPageList API asynchronously

func (*Client) DescribeVerifyResult

func (client *Client) DescribeVerifyResult(request *DescribeVerifyResultRequest) (response *DescribeVerifyResultResponse, err error)

DescribeVerifyResult invokes the cloudauth.DescribeVerifyResult API synchronously

func (*Client) DescribeVerifyResultWithCallback

func (client *Client) DescribeVerifyResultWithCallback(request *DescribeVerifyResultRequest, callback func(response *DescribeVerifyResultResponse, err error)) <-chan int

DescribeVerifyResultWithCallback invokes the cloudauth.DescribeVerifyResult API asynchronously

func (*Client) DescribeVerifyResultWithChan

func (client *Client) DescribeVerifyResultWithChan(request *DescribeVerifyResultRequest) (<-chan *DescribeVerifyResultResponse, <-chan error)

DescribeVerifyResultWithChan invokes the cloudauth.DescribeVerifyResult API asynchronously

func (*Client) DescribeVerifySDK

func (client *Client) DescribeVerifySDK(request *DescribeVerifySDKRequest) (response *DescribeVerifySDKResponse, err error)

DescribeVerifySDK invokes the cloudauth.DescribeVerifySDK API synchronously

func (*Client) DescribeVerifySDKWithCallback

func (client *Client) DescribeVerifySDKWithCallback(request *DescribeVerifySDKRequest, callback func(response *DescribeVerifySDKResponse, err error)) <-chan int

DescribeVerifySDKWithCallback invokes the cloudauth.DescribeVerifySDK API asynchronously

func (*Client) DescribeVerifySDKWithChan

func (client *Client) DescribeVerifySDKWithChan(request *DescribeVerifySDKRequest) (<-chan *DescribeVerifySDKResponse, <-chan error)

DescribeVerifySDKWithChan invokes the cloudauth.DescribeVerifySDK API asynchronously

func (*Client) DescribeVerifyToken

func (client *Client) DescribeVerifyToken(request *DescribeVerifyTokenRequest) (response *DescribeVerifyTokenResponse, err error)

DescribeVerifyToken invokes the cloudauth.DescribeVerifyToken API synchronously

func (*Client) DescribeVerifyTokenWithCallback

func (client *Client) DescribeVerifyTokenWithCallback(request *DescribeVerifyTokenRequest, callback func(response *DescribeVerifyTokenResponse, err error)) <-chan int

DescribeVerifyTokenWithCallback invokes the cloudauth.DescribeVerifyToken API asynchronously

func (*Client) DescribeVerifyTokenWithChan

func (client *Client) DescribeVerifyTokenWithChan(request *DescribeVerifyTokenRequest) (<-chan *DescribeVerifyTokenResponse, <-chan error)

DescribeVerifyTokenWithChan invokes the cloudauth.DescribeVerifyToken API asynchronously

func (*Client) DetectFaceAttributes

func (client *Client) DetectFaceAttributes(request *DetectFaceAttributesRequest) (response *DetectFaceAttributesResponse, err error)

DetectFaceAttributes invokes the cloudauth.DetectFaceAttributes API synchronously

func (*Client) DetectFaceAttributesWithCallback

func (client *Client) DetectFaceAttributesWithCallback(request *DetectFaceAttributesRequest, callback func(response *DetectFaceAttributesResponse, err error)) <-chan int

DetectFaceAttributesWithCallback invokes the cloudauth.DetectFaceAttributes API asynchronously

func (*Client) DetectFaceAttributesWithChan

func (client *Client) DetectFaceAttributesWithChan(request *DetectFaceAttributesRequest) (<-chan *DetectFaceAttributesResponse, <-chan error)

DetectFaceAttributesWithChan invokes the cloudauth.DetectFaceAttributes API asynchronously

func (*Client) Id2MetaVerify added in v1.62.710

func (client *Client) Id2MetaVerify(request *Id2MetaVerifyRequest) (response *Id2MetaVerifyResponse, err error)

Id2MetaVerify invokes the cloudauth.Id2MetaVerify API synchronously

func (*Client) Id2MetaVerifyWithCallback added in v1.62.710

func (client *Client) Id2MetaVerifyWithCallback(request *Id2MetaVerifyRequest, callback func(response *Id2MetaVerifyResponse, err error)) <-chan int

Id2MetaVerifyWithCallback invokes the cloudauth.Id2MetaVerify API asynchronously

func (*Client) Id2MetaVerifyWithChan added in v1.62.710

func (client *Client) Id2MetaVerifyWithChan(request *Id2MetaVerifyRequest) (<-chan *Id2MetaVerifyResponse, <-chan error)

Id2MetaVerifyWithChan invokes the cloudauth.Id2MetaVerify API asynchronously

func (*Client) InitFaceVerify added in v1.61.13

func (client *Client) InitFaceVerify(request *InitFaceVerifyRequest) (response *InitFaceVerifyResponse, err error)

InitFaceVerify invokes the cloudauth.InitFaceVerify API synchronously

func (*Client) InitFaceVerifyWithCallback added in v1.61.13

func (client *Client) InitFaceVerifyWithCallback(request *InitFaceVerifyRequest, callback func(response *InitFaceVerifyResponse, err error)) <-chan int

InitFaceVerifyWithCallback invokes the cloudauth.InitFaceVerify API asynchronously

func (*Client) InitFaceVerifyWithChan added in v1.61.13

func (client *Client) InitFaceVerifyWithChan(request *InitFaceVerifyRequest) (<-chan *InitFaceVerifyResponse, <-chan error)

InitFaceVerifyWithChan invokes the cloudauth.InitFaceVerify API asynchronously

func (*Client) LivenessFaceVerify added in v1.61.583

func (client *Client) LivenessFaceVerify(request *LivenessFaceVerifyRequest) (response *LivenessFaceVerifyResponse, err error)

LivenessFaceVerify invokes the cloudauth.LivenessFaceVerify API synchronously

func (*Client) LivenessFaceVerifyWithCallback added in v1.61.583

func (client *Client) LivenessFaceVerifyWithCallback(request *LivenessFaceVerifyRequest, callback func(response *LivenessFaceVerifyResponse, err error)) <-chan int

LivenessFaceVerifyWithCallback invokes the cloudauth.LivenessFaceVerify API asynchronously

func (*Client) LivenessFaceVerifyWithChan added in v1.61.583

func (client *Client) LivenessFaceVerifyWithChan(request *LivenessFaceVerifyRequest) (<-chan *LivenessFaceVerifyResponse, <-chan error)

LivenessFaceVerifyWithChan invokes the cloudauth.LivenessFaceVerify API asynchronously

func (*Client) Mobile3MetaDetailVerify added in v1.62.710

func (client *Client) Mobile3MetaDetailVerify(request *Mobile3MetaDetailVerifyRequest) (response *Mobile3MetaDetailVerifyResponse, err error)

Mobile3MetaDetailVerify invokes the cloudauth.Mobile3MetaDetailVerify API synchronously

func (*Client) Mobile3MetaDetailVerifyWithCallback added in v1.62.710

func (client *Client) Mobile3MetaDetailVerifyWithCallback(request *Mobile3MetaDetailVerifyRequest, callback func(response *Mobile3MetaDetailVerifyResponse, err error)) <-chan int

Mobile3MetaDetailVerifyWithCallback invokes the cloudauth.Mobile3MetaDetailVerify API asynchronously

func (*Client) Mobile3MetaDetailVerifyWithChan added in v1.62.710

func (client *Client) Mobile3MetaDetailVerifyWithChan(request *Mobile3MetaDetailVerifyRequest) (<-chan *Mobile3MetaDetailVerifyResponse, <-chan error)

Mobile3MetaDetailVerifyWithChan invokes the cloudauth.Mobile3MetaDetailVerify API asynchronously

func (*Client) Mobile3MetaSimpleVerify added in v1.62.710

func (client *Client) Mobile3MetaSimpleVerify(request *Mobile3MetaSimpleVerifyRequest) (response *Mobile3MetaSimpleVerifyResponse, err error)

Mobile3MetaSimpleVerify invokes the cloudauth.Mobile3MetaSimpleVerify API synchronously

func (*Client) Mobile3MetaSimpleVerifyWithCallback added in v1.62.710

func (client *Client) Mobile3MetaSimpleVerifyWithCallback(request *Mobile3MetaSimpleVerifyRequest, callback func(response *Mobile3MetaSimpleVerifyResponse, err error)) <-chan int

Mobile3MetaSimpleVerifyWithCallback invokes the cloudauth.Mobile3MetaSimpleVerify API asynchronously

func (*Client) Mobile3MetaSimpleVerifyWithChan added in v1.62.710

func (client *Client) Mobile3MetaSimpleVerifyWithChan(request *Mobile3MetaSimpleVerifyRequest) (<-chan *Mobile3MetaSimpleVerifyResponse, <-chan error)

Mobile3MetaSimpleVerifyWithChan invokes the cloudauth.Mobile3MetaSimpleVerify API asynchronously

func (*Client) ModifyDeviceInfo

func (client *Client) ModifyDeviceInfo(request *ModifyDeviceInfoRequest) (response *ModifyDeviceInfoResponse, err error)

ModifyDeviceInfo invokes the cloudauth.ModifyDeviceInfo API synchronously

func (*Client) ModifyDeviceInfoWithCallback

func (client *Client) ModifyDeviceInfoWithCallback(request *ModifyDeviceInfoRequest, callback func(response *ModifyDeviceInfoResponse, err error)) <-chan int

ModifyDeviceInfoWithCallback invokes the cloudauth.ModifyDeviceInfo API asynchronously

func (*Client) ModifyDeviceInfoWithChan

func (client *Client) ModifyDeviceInfoWithChan(request *ModifyDeviceInfoRequest) (<-chan *ModifyDeviceInfoResponse, <-chan error)

ModifyDeviceInfoWithChan invokes the cloudauth.ModifyDeviceInfo API asynchronously

func (*Client) VerifyMaterial

func (client *Client) VerifyMaterial(request *VerifyMaterialRequest) (response *VerifyMaterialResponse, err error)

VerifyMaterial invokes the cloudauth.VerifyMaterial API synchronously

func (*Client) VerifyMaterialWithCallback

func (client *Client) VerifyMaterialWithCallback(request *VerifyMaterialRequest, callback func(response *VerifyMaterialResponse, err error)) <-chan int

VerifyMaterialWithCallback invokes the cloudauth.VerifyMaterial API asynchronously

func (*Client) VerifyMaterialWithChan

func (client *Client) VerifyMaterialWithChan(request *VerifyMaterialRequest) (<-chan *VerifyMaterialResponse, <-chan error)

VerifyMaterialWithChan invokes the cloudauth.VerifyMaterial API asynchronously

type CompareFaceVerifyRequest added in v1.61.155

type CompareFaceVerifyRequest struct {
	*requests.RpcRequest
	ProductCode                  string           `position:"Body" name:"ProductCode"`
	TargetCertifyId              string           `position:"Body" name:"TargetCertifyId"`
	TargetFaceContrastPicture    string           `position:"Body" name:"TargetFaceContrastPicture"`
	TargetOssBucketName          string           `position:"Body" name:"TargetOssBucketName"`
	OuterOrderNo                 string           `position:"Body" name:"OuterOrderNo"`
	SourceFaceContrastPicture    string           `position:"Body" name:"SourceFaceContrastPicture"`
	SourceCertifyId              string           `position:"Body" name:"SourceCertifyId"`
	TargetFaceContrastPictureUrl string           `position:"Body" name:"TargetFaceContrastPictureUrl"`
	SourceOssObjectName          string           `position:"Body" name:"SourceOssObjectName"`
	SourceOssBucketName          string           `position:"Body" name:"SourceOssBucketName"`
	TargetOssObjectName          string           `position:"Body" name:"TargetOssObjectName"`
	SceneId                      requests.Integer `position:"Body" name:"SceneId"`
	SourceFaceContrastPictureUrl string           `position:"Body" name:"SourceFaceContrastPictureUrl"`
	Crop                         string           `position:"Body" name:"Crop"`
}

CompareFaceVerifyRequest is the request struct for api CompareFaceVerify

func CreateCompareFaceVerifyRequest added in v1.61.155

func CreateCompareFaceVerifyRequest() (request *CompareFaceVerifyRequest)

CreateCompareFaceVerifyRequest creates a request to invoke CompareFaceVerify API

type CompareFaceVerifyResponse added in v1.61.155

type CompareFaceVerifyResponse struct {
	*responses.BaseResponse
	Code         string       `json:"Code" xml:"Code"`
	Message      string       `json:"Message" xml:"Message"`
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	ResultObject ResultObject `json:"ResultObject" xml:"ResultObject"`
}

CompareFaceVerifyResponse is the response struct for api CompareFaceVerify

func CreateCompareFaceVerifyResponse added in v1.61.155

func CreateCompareFaceVerifyResponse() (response *CompareFaceVerifyResponse)

CreateCompareFaceVerifyResponse creates a response to parse from CompareFaceVerify response

type CompareFacesRequest

type CompareFacesRequest struct {
	*requests.RpcRequest
	SourceImageType  string `position:"Body" name:"SourceImageType"`
	TargetImageType  string `position:"Body" name:"TargetImageType"`
	TargetImageValue string `position:"Body" name:"TargetImageValue"`
	BizType          string `position:"Body" name:"BizType"`
	SourceImageValue string `position:"Body" name:"SourceImageValue"`
}

CompareFacesRequest is the request struct for api CompareFaces

func CreateCompareFacesRequest

func CreateCompareFacesRequest() (request *CompareFacesRequest)

CreateCompareFacesRequest creates a request to invoke CompareFaces API

type CompareFacesResponse

type CompareFacesResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

CompareFacesResponse is the response struct for api CompareFaces

func CreateCompareFacesResponse

func CreateCompareFacesResponse() (response *CompareFacesResponse)

CreateCompareFacesResponse creates a response to parse from CompareFaces response

type ContrastFaceVerifyRequest added in v1.61.86

type ContrastFaceVerifyRequest struct {
	*requests.RpcRequest
	ProductCode            string           `position:"Body" name:"ProductCode"`
	FaceContrastPicture    string           `position:"Body" name:"FaceContrastPicture"`
	DeviceToken            string           `position:"Body" name:"DeviceToken"`
	UserId                 string           `position:"Body" name:"UserId"`
	CertifyId              string           `position:"Body" name:"CertifyId"`
	EncryptType            string           `position:"Body" name:"EncryptType"`
	CertNo                 string           `position:"Body" name:"CertNo"`
	OuterOrderNo           string           `position:"Body" name:"OuterOrderNo"`
	CertType               string           `position:"Body" name:"CertType"`
	FaceContrastPictureUrl string           `position:"Body" name:"FaceContrastPictureUrl"`
	Model                  string           `position:"Query" name:"Model"`
	OssObjectName          string           `position:"Body" name:"OssObjectName"`
	CertName               string           `position:"Body" name:"CertName"`
	Ip                     string           `position:"Body" name:"Ip"`
	Mobile                 string           `position:"Body" name:"Mobile"`
	FaceContrastFile       string           `position:"Body" name:"FaceContrastFile"`
	SceneId                requests.Integer `position:"Body" name:"SceneId"`
	OssBucketName          string           `position:"Body" name:"OssBucketName"`
	Crop                   string           `position:"Body" name:"Crop"`
}

ContrastFaceVerifyRequest is the request struct for api ContrastFaceVerify

func CreateContrastFaceVerifyRequest added in v1.61.86

func CreateContrastFaceVerifyRequest() (request *ContrastFaceVerifyRequest)

CreateContrastFaceVerifyRequest creates a request to invoke ContrastFaceVerify API

type ContrastFaceVerifyResponse added in v1.61.86

type ContrastFaceVerifyResponse struct {
	*responses.BaseResponse
	Code         string       `json:"Code" xml:"Code"`
	Message      string       `json:"Message" xml:"Message"`
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	ResultObject ResultObject `json:"ResultObject" xml:"ResultObject"`
}

ContrastFaceVerifyResponse is the response struct for api ContrastFaceVerify

func CreateContrastFaceVerifyResponse added in v1.61.86

func CreateContrastFaceVerifyResponse() (response *ContrastFaceVerifyResponse)

CreateContrastFaceVerifyResponse creates a response to parse from ContrastFaceVerify response

type CreateAuthKeyRequest

type CreateAuthKeyRequest struct {
	*requests.RpcRequest
	UserDeviceId string           `position:"Query" name:"UserDeviceId"`
	Test         requests.Boolean `position:"Query" name:"Test"`
	BizType      string           `position:"Query" name:"BizType"`
	SourceIp     string           `position:"Query" name:"SourceIp"`
	AuthYears    requests.Integer `position:"Query" name:"AuthYears"`
	Lang         string           `position:"Query" name:"Lang"`
}

CreateAuthKeyRequest is the request struct for api CreateAuthKey

func CreateCreateAuthKeyRequest

func CreateCreateAuthKeyRequest() (request *CreateAuthKeyRequest)

CreateCreateAuthKeyRequest creates a request to invoke CreateAuthKey API

type CreateAuthKeyResponse

type CreateAuthKeyResponse struct {
	*responses.BaseResponse
	AuthKey   string `json:"AuthKey" xml:"AuthKey"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CreateAuthKeyResponse is the response struct for api CreateAuthKey

func CreateCreateAuthKeyResponse

func CreateCreateAuthKeyResponse() (response *CreateAuthKeyResponse)

CreateCreateAuthKeyResponse creates a response to parse from CreateAuthKey response

type CreateVerifySettingRequest

type CreateVerifySettingRequest struct {
	*requests.RpcRequest
	GuideStep   requests.Boolean `position:"Query" name:"GuideStep"`
	ResultStep  requests.Boolean `position:"Query" name:"ResultStep"`
	SourceIp    string           `position:"Query" name:"SourceIp"`
	Solution    string           `position:"Query" name:"Solution"`
	BizName     string           `position:"Query" name:"BizName"`
	BizType     string           `position:"Query" name:"BizType"`
	PrivacyStep requests.Boolean `position:"Query" name:"PrivacyStep"`
}

CreateVerifySettingRequest is the request struct for api CreateVerifySetting

func CreateCreateVerifySettingRequest

func CreateCreateVerifySettingRequest() (request *CreateVerifySettingRequest)

CreateCreateVerifySettingRequest creates a request to invoke CreateVerifySetting API

type CreateVerifySettingResponse

type CreateVerifySettingResponse struct {
	*responses.BaseResponse
	BizName   string   `json:"BizName" xml:"BizName"`
	RequestId string   `json:"RequestId" xml:"RequestId"`
	Solution  string   `json:"Solution" xml:"Solution"`
	BizType   string   `json:"BizType" xml:"BizType"`
	StepList  []string `json:"StepList" xml:"StepList"`
}

CreateVerifySettingResponse is the response struct for api CreateVerifySetting

func CreateCreateVerifySettingResponse

func CreateCreateVerifySettingResponse() (response *CreateVerifySettingResponse)

CreateCreateVerifySettingResponse creates a response to parse from CreateVerifySetting response

type Data

type Data struct {
	ImgWidth             int       `json:"ImgWidth" xml:"ImgWidth"`
	ImgHeight            int       `json:"ImgHeight" xml:"ImgHeight"`
	SimilarityScore      float64   `json:"SimilarityScore" xml:"SimilarityScore"`
	ConfidenceThresholds string    `json:"ConfidenceThresholds" xml:"ConfidenceThresholds"`
	FaceInfos            FaceInfos `json:"FaceInfos" xml:"FaceInfos"`
}

Data is a nested struct in cloudauth response

type DescribeDeviceInfoRequest

type DescribeDeviceInfoRequest struct {
	*requests.RpcRequest
	UserDeviceId    string           `position:"Query" name:"UserDeviceId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	Lang            string           `position:"Query" name:"Lang"`
	ExpiredStartDay string           `position:"Query" name:"ExpiredStartDay"`
	TotalCount      requests.Integer `position:"Query" name:"TotalCount"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
	DeviceId        string           `position:"Query" name:"DeviceId"`
	BizType         string           `position:"Query" name:"BizType"`
	ExpiredEndDay   string           `position:"Query" name:"ExpiredEndDay"`
}

DescribeDeviceInfoRequest is the request struct for api DescribeDeviceInfo

func CreateDescribeDeviceInfoRequest

func CreateDescribeDeviceInfoRequest() (request *DescribeDeviceInfoRequest)

CreateDescribeDeviceInfoRequest creates a request to invoke DescribeDeviceInfo API

type DescribeDeviceInfoResponse

type DescribeDeviceInfoResponse struct {
	*responses.BaseResponse
	CurrentPage    int            `json:"CurrentPage" xml:"CurrentPage"`
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	PageSize       int            `json:"PageSize" xml:"PageSize"`
	TotalCount     int            `json:"TotalCount" xml:"TotalCount"`
	DeviceInfoList DeviceInfoList `json:"DeviceInfoList" xml:"DeviceInfoList"`
}

DescribeDeviceInfoResponse is the response struct for api DescribeDeviceInfo

func CreateDescribeDeviceInfoResponse

func CreateDescribeDeviceInfoResponse() (response *DescribeDeviceInfoResponse)

CreateDescribeDeviceInfoResponse creates a response to parse from DescribeDeviceInfo response

type DescribeFaceVerifyRequest added in v1.61.13

type DescribeFaceVerifyRequest struct {
	*requests.RpcRequest
	CertifyId         string           `position:"Query" name:"CertifyId"`
	PictureReturnType string           `position:"Query" name:"PictureReturnType"`
	SceneId           requests.Integer `position:"Query" name:"SceneId"`
}

DescribeFaceVerifyRequest is the request struct for api DescribeFaceVerify

func CreateDescribeFaceVerifyRequest added in v1.61.13

func CreateDescribeFaceVerifyRequest() (request *DescribeFaceVerifyRequest)

CreateDescribeFaceVerifyRequest creates a request to invoke DescribeFaceVerify API

type DescribeFaceVerifyResponse added in v1.61.13

type DescribeFaceVerifyResponse struct {
	*responses.BaseResponse
	Code         string       `json:"Code" xml:"Code"`
	Message      string       `json:"Message" xml:"Message"`
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	ResultObject ResultObject `json:"ResultObject" xml:"ResultObject"`
}

DescribeFaceVerifyResponse is the response struct for api DescribeFaceVerify

func CreateDescribeFaceVerifyResponse added in v1.61.13

func CreateDescribeFaceVerifyResponse() (response *DescribeFaceVerifyResponse)

CreateDescribeFaceVerifyResponse creates a response to parse from DescribeFaceVerify response

type DescribeOssUploadTokenRequest

type DescribeOssUploadTokenRequest struct {
	*requests.RpcRequest
	SourceIp string `position:"Query" name:"SourceIp"`
}

DescribeOssUploadTokenRequest is the request struct for api DescribeOssUploadToken

func CreateDescribeOssUploadTokenRequest

func CreateDescribeOssUploadTokenRequest() (request *DescribeOssUploadTokenRequest)

CreateDescribeOssUploadTokenRequest creates a request to invoke DescribeOssUploadToken API

type DescribeOssUploadTokenResponse

type DescribeOssUploadTokenResponse struct {
	*responses.BaseResponse
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	OssUploadToken OssUploadToken `json:"OssUploadToken" xml:"OssUploadToken"`
}

DescribeOssUploadTokenResponse is the response struct for api DescribeOssUploadToken

func CreateDescribeOssUploadTokenResponse

func CreateDescribeOssUploadTokenResponse() (response *DescribeOssUploadTokenResponse)

CreateDescribeOssUploadTokenResponse creates a response to parse from DescribeOssUploadToken response

type DescribePageFaceVerifyDataRequest added in v1.62.710

type DescribePageFaceVerifyDataRequest struct {
	*requests.RpcRequest
	ProductCode string           `position:"Query" name:"ProductCode"`
	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
	StartDate   string           `position:"Query" name:"StartDate"`
	EndDate     string           `position:"Query" name:"EndDate"`
	SceneId     requests.Integer `position:"Query" name:"SceneId"`
	PageSize    requests.Integer `position:"Query" name:"PageSize"`
}

DescribePageFaceVerifyDataRequest is the request struct for api DescribePageFaceVerifyData

func CreateDescribePageFaceVerifyDataRequest added in v1.62.710

func CreateDescribePageFaceVerifyDataRequest() (request *DescribePageFaceVerifyDataRequest)

CreateDescribePageFaceVerifyDataRequest creates a request to invoke DescribePageFaceVerifyData API

type DescribePageFaceVerifyDataResponse added in v1.62.710

type DescribePageFaceVerifyDataResponse struct {
	*responses.BaseResponse
	RequestId   string      `json:"RequestId" xml:"RequestId"`
	Success     string      `json:"Success" xml:"Success"`
	Code        string      `json:"Code" xml:"Code"`
	Message     string      `json:"Message" xml:"Message"`
	TotalCount  string      `json:"TotalCount" xml:"TotalCount"`
	PageSize    string      `json:"PageSize" xml:"PageSize"`
	TotalPage   string      `json:"TotalPage" xml:"TotalPage"`
	CurrentPage string      `json:"CurrentPage" xml:"CurrentPage"`
	Items       []ItemsItem `json:"Items" xml:"Items"`
}

DescribePageFaceVerifyDataResponse is the response struct for api DescribePageFaceVerifyData

func CreateDescribePageFaceVerifyDataResponse added in v1.62.710

func CreateDescribePageFaceVerifyDataResponse() (response *DescribePageFaceVerifyDataResponse)

CreateDescribePageFaceVerifyDataResponse creates a response to parse from DescribePageFaceVerifyData response

type DescribeSmartStatisticsPageListRequest added in v1.62.710

type DescribeSmartStatisticsPageListRequest struct {
	*requests.RpcRequest
	StartDate   string `position:"Query" name:"StartDate"`
	SourceIp    string `position:"Query" name:"SourceIp"`
	PageSize    string `position:"Query" name:"PageSize"`
	CurrentPage string `position:"Query" name:"CurrentPage"`
	EndDate     string `position:"Query" name:"EndDate"`
	ServiceCode string `position:"Query" name:"ServiceCode"`
	SceneId     string `position:"Query" name:"SceneId"`
}

DescribeSmartStatisticsPageListRequest is the request struct for api DescribeSmartStatisticsPageList

func CreateDescribeSmartStatisticsPageListRequest added in v1.62.710

func CreateDescribeSmartStatisticsPageListRequest() (request *DescribeSmartStatisticsPageListRequest)

CreateDescribeSmartStatisticsPageListRequest creates a request to invoke DescribeSmartStatisticsPageList API

type DescribeSmartStatisticsPageListResponse added in v1.62.710

type DescribeSmartStatisticsPageListResponse struct {
	*responses.BaseResponse
	CurrentPage int                                          `json:"CurrentPage" xml:"CurrentPage"`
	TotalPage   int                                          `json:"TotalPage" xml:"TotalPage"`
	PageSize    int                                          `json:"PageSize" xml:"PageSize"`
	RequestId   string                                       `json:"RequestId" xml:"RequestId"`
	TotalCount  int                                          `json:"TotalCount" xml:"TotalCount"`
	Items       []ItemsItemInDescribeSmartStatisticsPageList `json:"Items" xml:"Items"`
}

DescribeSmartStatisticsPageListResponse is the response struct for api DescribeSmartStatisticsPageList

func CreateDescribeSmartStatisticsPageListResponse added in v1.62.710

func CreateDescribeSmartStatisticsPageListResponse() (response *DescribeSmartStatisticsPageListResponse)

CreateDescribeSmartStatisticsPageListResponse creates a response to parse from DescribeSmartStatisticsPageList response

type DescribeVerifyResultRequest

type DescribeVerifyResultRequest struct {
	*requests.RpcRequest
	BizType string `position:"Query" name:"BizType"`
	BizId   string `position:"Query" name:"BizId"`
}

DescribeVerifyResultRequest is the request struct for api DescribeVerifyResult

func CreateDescribeVerifyResultRequest

func CreateDescribeVerifyResultRequest() (request *DescribeVerifyResultRequest)

CreateDescribeVerifyResultRequest creates a request to invoke DescribeVerifyResult API

type DescribeVerifyResultResponse

type DescribeVerifyResultResponse struct {
	*responses.BaseResponse
	AuthorityComparisionScore float64  `json:"AuthorityComparisionScore" xml:"AuthorityComparisionScore"`
	VerifyStatus              int      `json:"VerifyStatus" xml:"VerifyStatus"`
	RequestId                 string   `json:"RequestId" xml:"RequestId"`
	FaceComparisonScore       float64  `json:"FaceComparisonScore" xml:"FaceComparisonScore"`
	IdCardFaceComparisonScore float64  `json:"IdCardFaceComparisonScore" xml:"IdCardFaceComparisonScore"`
	Material                  Material `json:"Material" xml:"Material"`
}

DescribeVerifyResultResponse is the response struct for api DescribeVerifyResult

func CreateDescribeVerifyResultResponse

func CreateDescribeVerifyResultResponse() (response *DescribeVerifyResultResponse)

CreateDescribeVerifyResultResponse creates a response to parse from DescribeVerifyResult response

type DescribeVerifySDKRequest

type DescribeVerifySDKRequest struct {
	*requests.RpcRequest
	SourceIp string `position:"Query" name:"SourceIp"`
	Lang     string `position:"Query" name:"Lang"`
	TaskId   string `position:"Query" name:"TaskId"`
}

DescribeVerifySDKRequest is the request struct for api DescribeVerifySDK

func CreateDescribeVerifySDKRequest

func CreateDescribeVerifySDKRequest() (request *DescribeVerifySDKRequest)

CreateDescribeVerifySDKRequest creates a request to invoke DescribeVerifySDK API

type DescribeVerifySDKResponse

type DescribeVerifySDKResponse struct {
	*responses.BaseResponse
	SdkUrl    string `json:"SdkUrl" xml:"SdkUrl"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DescribeVerifySDKResponse is the response struct for api DescribeVerifySDK

func CreateDescribeVerifySDKResponse

func CreateDescribeVerifySDKResponse() (response *DescribeVerifySDKResponse)

CreateDescribeVerifySDKResponse creates a response to parse from DescribeVerifySDK response

type DescribeVerifyTokenRequest

type DescribeVerifyTokenRequest struct {
	*requests.RpcRequest
	FaceRetainedImageUrl string           `position:"Query" name:"FaceRetainedImageUrl"`
	UserId               string           `position:"Query" name:"UserId"`
	CallbackSeed         string           `position:"Query" name:"CallbackSeed"`
	UserIp               string           `position:"Query" name:"UserIp"`
	IdCardBackImageUrl   string           `position:"Query" name:"IdCardBackImageUrl"`
	IdCardNumber         string           `position:"Query" name:"IdCardNumber"`
	IdCardFrontImageUrl  string           `position:"Query" name:"IdCardFrontImageUrl"`
	BizType              string           `position:"Query" name:"BizType"`
	PassedRedirectUrl    string           `position:"Query" name:"PassedRedirectUrl"`
	UserRegistTime       requests.Integer `position:"Query" name:"UserRegistTime"`
	BizId                string           `position:"Query" name:"BizId"`
	Name                 string           `position:"Query" name:"Name"`
	UserPhoneNumber      string           `position:"Query" name:"UserPhoneNumber"`
	CallbackUrl          string           `position:"Query" name:"CallbackUrl"`
	FailedRedirectUrl    string           `position:"Query" name:"FailedRedirectUrl"`
}

DescribeVerifyTokenRequest is the request struct for api DescribeVerifyToken

func CreateDescribeVerifyTokenRequest

func CreateDescribeVerifyTokenRequest() (request *DescribeVerifyTokenRequest)

CreateDescribeVerifyTokenRequest creates a request to invoke DescribeVerifyToken API

type DescribeVerifyTokenResponse

type DescribeVerifyTokenResponse struct {
	*responses.BaseResponse
	VerifyPageUrl  string         `json:"VerifyPageUrl" xml:"VerifyPageUrl"`
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	VerifyToken    string         `json:"VerifyToken" xml:"VerifyToken"`
	OssUploadToken OssUploadToken `json:"OssUploadToken" xml:"OssUploadToken"`
}

DescribeVerifyTokenResponse is the response struct for api DescribeVerifyToken

func CreateDescribeVerifyTokenResponse

func CreateDescribeVerifyTokenResponse() (response *DescribeVerifyTokenResponse)

CreateDescribeVerifyTokenResponse creates a response to parse from DescribeVerifyToken response

type DetectFaceAttributesRequest

type DetectFaceAttributesRequest struct {
	*requests.RpcRequest
	BizType       string `position:"Body" name:"BizType"`
	MaterialValue string `position:"Body" name:"MaterialValue"`
}

DetectFaceAttributesRequest is the request struct for api DetectFaceAttributes

func CreateDetectFaceAttributesRequest

func CreateDetectFaceAttributesRequest() (request *DetectFaceAttributesRequest)

CreateDetectFaceAttributesRequest creates a request to invoke DetectFaceAttributes API

type DetectFaceAttributesResponse

type DetectFaceAttributesResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

DetectFaceAttributesResponse is the response struct for api DetectFaceAttributes

func CreateDetectFaceAttributesResponse

func CreateDetectFaceAttributesResponse() (response *DetectFaceAttributesResponse)

CreateDetectFaceAttributesResponse creates a response to parse from DetectFaceAttributes response

type DeviceInfo

type DeviceInfo struct {
	ExpiredDay   string `json:"ExpiredDay" xml:"ExpiredDay"`
	UserDeviceId string `json:"UserDeviceId" xml:"UserDeviceId"`
	DeviceId     string `json:"DeviceId" xml:"DeviceId"`
	BeginDay     string `json:"BeginDay" xml:"BeginDay"`
	BizType      string `json:"BizType" xml:"BizType"`
}

DeviceInfo is a nested struct in cloudauth response

type DeviceInfoList

type DeviceInfoList struct {
	DeviceInfo []DeviceInfo `json:"DeviceInfo" xml:"DeviceInfo"`
}

DeviceInfoList is a nested struct in cloudauth response

type FaceAttributes

type FaceAttributes struct {
	Glasses         string   `json:"Glasses" xml:"Glasses"`
	Facequal        float64  `json:"Facequal" xml:"Facequal"`
	Integrity       int      `json:"Integrity" xml:"Integrity"`
	Facetype        string   `json:"Facetype" xml:"Facetype"`
	Respirator      string   `json:"Respirator" xml:"Respirator"`
	AppearanceScore float64  `json:"AppearanceScore" xml:"AppearanceScore"`
	Age             int      `json:"Age" xml:"Age"`
	Blur            float64  `json:"Blur" xml:"Blur"`
	Gender          Gender   `json:"Gender" xml:"Gender"`
	Smiling         Smiling  `json:"Smiling" xml:"Smiling"`
	Headpose        Headpose `json:"Headpose" xml:"Headpose"`
}

FaceAttributes is a nested struct in cloudauth response

type FaceAttributesDetectInfo

type FaceAttributesDetectInfo struct {
	FaceRect       FaceRect       `json:"FaceRect" xml:"FaceRect"`
	FaceAttributes FaceAttributes `json:"FaceAttributes" xml:"FaceAttributes"`
}

FaceAttributesDetectInfo is a nested struct in cloudauth response

type FaceInfos

type FaceInfos struct {
	FaceAttributesDetectInfo []FaceAttributesDetectInfo `json:"FaceAttributesDetectInfo" xml:"FaceAttributesDetectInfo"`
}

FaceInfos is a nested struct in cloudauth response

type FaceRect

type FaceRect struct {
	Left   int `json:"Left" xml:"Left"`
	Top    int `json:"Top" xml:"Top"`
	Width  int `json:"Width" xml:"Width"`
	Height int `json:"Height" xml:"Height"`
}

FaceRect is a nested struct in cloudauth response

type Gender

type Gender struct {
	Value string  `json:"Value" xml:"Value"`
	Score float64 `json:"Score" xml:"Score"`
}

Gender is a nested struct in cloudauth response

type Headpose

type Headpose struct {
	PitchAngle float64 `json:"PitchAngle" xml:"PitchAngle"`
	RollAngle  float64 `json:"RollAngle" xml:"RollAngle"`
	YawAngle   float64 `json:"YawAngle" xml:"YawAngle"`
}

Headpose is a nested struct in cloudauth response

type Id2MetaVerifyRequest added in v1.62.710

type Id2MetaVerifyRequest struct {
	*requests.RpcRequest
	ParamType   string `position:"Query" name:"ParamType"`
	IdentifyNum string `position:"Query" name:"IdentifyNum"`
	UserName    string `position:"Query" name:"UserName"`
}

Id2MetaVerifyRequest is the request struct for api Id2MetaVerify

func CreateId2MetaVerifyRequest added in v1.62.710

func CreateId2MetaVerifyRequest() (request *Id2MetaVerifyRequest)

CreateId2MetaVerifyRequest creates a request to invoke Id2MetaVerify API

type Id2MetaVerifyResponse added in v1.62.710

type Id2MetaVerifyResponse struct {
	*responses.BaseResponse
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	Code         string       `json:"Code" xml:"Code"`
	Message      string       `json:"Message" xml:"Message"`
	ResultObject ResultObject `json:"ResultObject" xml:"ResultObject"`
}

Id2MetaVerifyResponse is the response struct for api Id2MetaVerify

func CreateId2MetaVerifyResponse added in v1.62.710

func CreateId2MetaVerifyResponse() (response *Id2MetaVerifyResponse)

CreateId2MetaVerifyResponse creates a response to parse from Id2MetaVerify response

type IdCardInfo

type IdCardInfo struct {
	Name          string `json:"Name" xml:"Name"`
	Sex           string `json:"Sex" xml:"Sex"`
	EndDate       string `json:"EndDate" xml:"EndDate"`
	BackImageUrl  string `json:"BackImageUrl" xml:"BackImageUrl"`
	Nationality   string `json:"Nationality" xml:"Nationality"`
	Authority     string `json:"Authority" xml:"Authority"`
	Birth         string `json:"Birth" xml:"Birth"`
	Address       string `json:"Address" xml:"Address"`
	StartDate     string `json:"StartDate" xml:"StartDate"`
	Number        string `json:"Number" xml:"Number"`
	FrontImageUrl string `json:"FrontImageUrl" xml:"FrontImageUrl"`
}

IdCardInfo is a nested struct in cloudauth response

type InitFaceVerifyRequest added in v1.61.13

type InitFaceVerifyRequest struct {
	*requests.RpcRequest
	Birthday                   string           `position:"Query" name:"Birthday"`
	ProductCode                string           `position:"Query" name:"ProductCode"`
	FaceContrastPicture        string           `position:"Body" name:"FaceContrastPicture"`
	ReadImg                    string           `position:"Query" name:"ReadImg"`
	RarelyCharacters           string           `position:"Query" name:"RarelyCharacters"`
	VoluntaryCustomizedContent string           `position:"Query" name:"VoluntaryCustomizedContent"`
	UserId                     string           `position:"Query" name:"UserId"`
	CertifyId                  string           `position:"Query" name:"CertifyId"`
	EncryptType                string           `position:"Query" name:"EncryptType"`
	Mode                       string           `position:"Query" name:"Mode"`
	CertNo                     string           `position:"Query" name:"CertNo"`
	OuterOrderNo               string           `position:"Query" name:"OuterOrderNo"`
	CertType                   string           `position:"Query" name:"CertType"`
	FaceContrastPictureUrl     string           `position:"Query" name:"FaceContrastPictureUrl"`
	Model                      string           `position:"Body" name:"Model"`
	SuitableType               string           `position:"Query" name:"SuitableType"`
	CertifyUrlStyle            string           `position:"Query" name:"CertifyUrlStyle"`
	MetaInfo                   string           `position:"Query" name:"MetaInfo"`
	OssObjectName              string           `position:"Query" name:"OssObjectName"`
	ValidityDate               string           `position:"Query" name:"ValidityDate"`
	CertName                   string           `position:"Query" name:"CertName"`
	Ip                         string           `position:"Query" name:"Ip"`
	Mobile                     string           `position:"Query" name:"Mobile"`
	FaceGuardOutput            string           `position:"Query" name:"FaceGuardOutput"`
	AuthId                     string           `position:"Body" name:"AuthId"`
	ProcedurePriority          string           `position:"Query" name:"ProcedurePriority"`
	SceneId                    requests.Integer `position:"Query" name:"SceneId"`
	OssBucketName              string           `position:"Query" name:"OssBucketName"`
	CallbackToken              string           `position:"Query" name:"CallbackToken"`
	ReturnUrl                  string           `position:"Query" name:"ReturnUrl"`
	CallbackUrl                string           `position:"Query" name:"CallbackUrl"`
	Crop                       string           `position:"Body" name:"Crop"`
	CertifyUrlType             string           `position:"Query" name:"CertifyUrlType"`
}

InitFaceVerifyRequest is the request struct for api InitFaceVerify

func CreateInitFaceVerifyRequest added in v1.61.13

func CreateInitFaceVerifyRequest() (request *InitFaceVerifyRequest)

CreateInitFaceVerifyRequest creates a request to invoke InitFaceVerify API

type InitFaceVerifyResponse added in v1.61.13

type InitFaceVerifyResponse struct {
	*responses.BaseResponse
	Code         string       `json:"Code" xml:"Code"`
	Message      string       `json:"Message" xml:"Message"`
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	ResultObject ResultObject `json:"ResultObject" xml:"ResultObject"`
}

InitFaceVerifyResponse is the response struct for api InitFaceVerify

func CreateInitFaceVerifyResponse added in v1.61.13

func CreateInitFaceVerifyResponse() (response *InitFaceVerifyResponse)

CreateInitFaceVerifyResponse creates a response to parse from InitFaceVerify response

type ItemsInDescribePageFaceVerifyData added in v1.62.710

type ItemsInDescribePageFaceVerifyData struct {
	ItemsItem []ItemsItem `json:"Items" xml:"Items"`
}

ItemsInDescribePageFaceVerifyData is a nested struct in cloudauth response

type ItemsInDescribeSmartStatisticsPageList added in v1.62.710

type ItemsInDescribeSmartStatisticsPageList struct {
	ItemsItem []ItemsItemInDescribeSmartStatisticsPageList `json:"Items" xml:"Items"`
}

ItemsInDescribeSmartStatisticsPageList is a nested struct in cloudauth response

type ItemsItem added in v1.61.682

type ItemsItem struct {
	TotalCount   string `json:"TotalCount" xml:"TotalCount"`
	SceneName    string `json:"SceneName" xml:"SceneName"`
	SceneId      string `json:"SceneId" xml:"SceneId"`
	Date         string `json:"Date" xml:"Date"`
	SuccessCount string `json:"SuccessCount" xml:"SuccessCount"`
	ProductCode  string `json:"ProductCode" xml:"ProductCode"`
}

ItemsItem is a nested struct in cloudauth response

type ItemsItemInDescribeSmartStatisticsPageList added in v1.62.710

type ItemsItemInDescribeSmartStatisticsPageList struct {
	Date         string `json:"Date" xml:"Date"`
	SceneId      int64  `json:"SceneId" xml:"SceneId"`
	SceneName    string `json:"SceneName" xml:"SceneName"`
	TotalCount   int    `json:"TotalCount" xml:"TotalCount"`
	SuccessCount int    `json:"SuccessCount" xml:"SuccessCount"`
	PassRate     string `json:"PassRate" xml:"PassRate"`
	ProductCode  string `json:"ProductCode" xml:"ProductCode"`
}

ItemsItemInDescribeSmartStatisticsPageList is a nested struct in cloudauth response

type LivenessFaceVerifyRequest added in v1.61.583

type LivenessFaceVerifyRequest struct {
	*requests.RpcRequest
	ProductCode            string           `position:"Body" name:"ProductCode"`
	FaceContrastPicture    string           `position:"Body" name:"FaceContrastPicture"`
	DeviceToken            string           `position:"Body" name:"DeviceToken"`
	UserId                 string           `position:"Body" name:"UserId"`
	CertifyId              string           `position:"Body" name:"CertifyId"`
	OuterOrderNo           string           `position:"Body" name:"OuterOrderNo"`
	FaceContrastPictureUrl string           `position:"Body" name:"FaceContrastPictureUrl"`
	Model                  string           `position:"Query" name:"Model"`
	OssObjectName          string           `position:"Body" name:"OssObjectName"`
	Ip                     string           `position:"Body" name:"Ip"`
	Mobile                 string           `position:"Body" name:"Mobile"`
	SceneId                requests.Integer `position:"Body" name:"SceneId"`
	OssBucketName          string           `position:"Body" name:"OssBucketName"`
	Crop                   string           `position:"Body" name:"Crop"`
}

LivenessFaceVerifyRequest is the request struct for api LivenessFaceVerify

func CreateLivenessFaceVerifyRequest added in v1.61.583

func CreateLivenessFaceVerifyRequest() (request *LivenessFaceVerifyRequest)

CreateLivenessFaceVerifyRequest creates a request to invoke LivenessFaceVerify API

type LivenessFaceVerifyResponse added in v1.61.583

type LivenessFaceVerifyResponse struct {
	*responses.BaseResponse
	Code         string       `json:"Code" xml:"Code"`
	Message      string       `json:"Message" xml:"Message"`
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	ResultObject ResultObject `json:"ResultObject" xml:"ResultObject"`
}

LivenessFaceVerifyResponse is the response struct for api LivenessFaceVerify

func CreateLivenessFaceVerifyResponse added in v1.61.583

func CreateLivenessFaceVerifyResponse() (response *LivenessFaceVerifyResponse)

CreateLivenessFaceVerifyResponse creates a response to parse from LivenessFaceVerify response

type Material

type Material struct {
	FaceImageUrl  string     `json:"FaceImageUrl" xml:"FaceImageUrl"`
	FaceQuality   string     `json:"FaceQuality" xml:"FaceQuality"`
	FaceGlobalUrl string     `json:"FaceGlobalUrl" xml:"FaceGlobalUrl"`
	FaceMask      bool       `json:"FaceMask" xml:"FaceMask"`
	IdCardNumber  string     `json:"IdCardNumber" xml:"IdCardNumber"`
	IdCardName    string     `json:"IdCardName" xml:"IdCardName"`
	VideoUrls     []string   `json:"VideoUrls" xml:"VideoUrls"`
	IdCardInfo    IdCardInfo `json:"IdCardInfo" xml:"IdCardInfo"`
}

Material is a nested struct in cloudauth response

type MaterialInVerifyMaterial added in v1.61.381

type MaterialInVerifyMaterial struct {
	IdCardNumber  string     `json:"IdCardNumber" xml:"IdCardNumber"`
	FaceGlobalUrl string     `json:"FaceGlobalUrl" xml:"FaceGlobalUrl"`
	FaceImageUrl  string     `json:"FaceImageUrl" xml:"FaceImageUrl"`
	FaceMask      string     `json:"FaceMask" xml:"FaceMask"`
	IdCardName    string     `json:"IdCardName" xml:"IdCardName"`
	FaceQuality   string     `json:"FaceQuality" xml:"FaceQuality"`
	IdCardInfo    IdCardInfo `json:"IdCardInfo" xml:"IdCardInfo"`
}

MaterialInVerifyMaterial is a nested struct in cloudauth response

type Mobile3MetaDetailVerifyRequest added in v1.62.710

type Mobile3MetaDetailVerifyRequest struct {
	*requests.RpcRequest
	ParamType   string `position:"Query" name:"ParamType"`
	Mobile      string `position:"Query" name:"Mobile"`
	IdentifyNum string `position:"Query" name:"IdentifyNum"`
	UserName    string `position:"Query" name:"UserName"`
}

Mobile3MetaDetailVerifyRequest is the request struct for api Mobile3MetaDetailVerify

func CreateMobile3MetaDetailVerifyRequest added in v1.62.710

func CreateMobile3MetaDetailVerifyRequest() (request *Mobile3MetaDetailVerifyRequest)

CreateMobile3MetaDetailVerifyRequest creates a request to invoke Mobile3MetaDetailVerify API

type Mobile3MetaDetailVerifyResponse added in v1.62.710

type Mobile3MetaDetailVerifyResponse struct {
	*responses.BaseResponse
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	Code         string       `json:"Code" xml:"Code"`
	Message      string       `json:"Message" xml:"Message"`
	ResultObject ResultObject `json:"ResultObject" xml:"ResultObject"`
}

Mobile3MetaDetailVerifyResponse is the response struct for api Mobile3MetaDetailVerify

func CreateMobile3MetaDetailVerifyResponse added in v1.62.710

func CreateMobile3MetaDetailVerifyResponse() (response *Mobile3MetaDetailVerifyResponse)

CreateMobile3MetaDetailVerifyResponse creates a response to parse from Mobile3MetaDetailVerify response

type Mobile3MetaSimpleVerifyRequest added in v1.62.710

type Mobile3MetaSimpleVerifyRequest struct {
	*requests.RpcRequest
	ParamType   string `position:"Query" name:"ParamType"`
	Mobile      string `position:"Query" name:"Mobile"`
	IdentifyNum string `position:"Query" name:"IdentifyNum"`
	UserName    string `position:"Query" name:"UserName"`
}

Mobile3MetaSimpleVerifyRequest is the request struct for api Mobile3MetaSimpleVerify

func CreateMobile3MetaSimpleVerifyRequest added in v1.62.710

func CreateMobile3MetaSimpleVerifyRequest() (request *Mobile3MetaSimpleVerifyRequest)

CreateMobile3MetaSimpleVerifyRequest creates a request to invoke Mobile3MetaSimpleVerify API

type Mobile3MetaSimpleVerifyResponse added in v1.62.710

type Mobile3MetaSimpleVerifyResponse struct {
	*responses.BaseResponse
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	Code         string       `json:"Code" xml:"Code"`
	Message      string       `json:"Message" xml:"Message"`
	ResultObject ResultObject `json:"ResultObject" xml:"ResultObject"`
}

Mobile3MetaSimpleVerifyResponse is the response struct for api Mobile3MetaSimpleVerify

func CreateMobile3MetaSimpleVerifyResponse added in v1.62.710

func CreateMobile3MetaSimpleVerifyResponse() (response *Mobile3MetaSimpleVerifyResponse)

CreateMobile3MetaSimpleVerifyResponse creates a response to parse from Mobile3MetaSimpleVerify response

type ModifyDeviceInfoRequest

type ModifyDeviceInfoRequest struct {
	*requests.RpcRequest
	UserDeviceId string `position:"Query" name:"UserDeviceId"`
	Duration     string `position:"Query" name:"Duration"`
	ExpiredDay   string `position:"Query" name:"ExpiredDay"`
	SourceIp     string `position:"Query" name:"SourceIp"`
	Lang         string `position:"Query" name:"Lang"`
	DeviceId     string `position:"Query" name:"DeviceId"`
	BizType      string `position:"Query" name:"BizType"`
}

ModifyDeviceInfoRequest is the request struct for api ModifyDeviceInfo

func CreateModifyDeviceInfoRequest

func CreateModifyDeviceInfoRequest() (request *ModifyDeviceInfoRequest)

CreateModifyDeviceInfoRequest creates a request to invoke ModifyDeviceInfo API

type ModifyDeviceInfoResponse

type ModifyDeviceInfoResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	UserDeviceId string `json:"UserDeviceId" xml:"UserDeviceId"`
	DeviceId     string `json:"DeviceId" xml:"DeviceId"`
	ExpiredDay   string `json:"ExpiredDay" xml:"ExpiredDay"`
	BeginDay     string `json:"BeginDay" xml:"BeginDay"`
	BizType      string `json:"BizType" xml:"BizType"`
}

ModifyDeviceInfoResponse is the response struct for api ModifyDeviceInfo

func CreateModifyDeviceInfoResponse

func CreateModifyDeviceInfoResponse() (response *ModifyDeviceInfoResponse)

CreateModifyDeviceInfoResponse creates a response to parse from ModifyDeviceInfo response

type OssUploadToken

type OssUploadToken struct {
	Key      string `json:"Key" xml:"Key"`
	Token    string `json:"Token" xml:"Token"`
	Path     string `json:"Path" xml:"Path"`
	Bucket   string `json:"Bucket" xml:"Bucket"`
	Expired  int64  `json:"Expired" xml:"Expired"`
	EndPoint string `json:"EndPoint" xml:"EndPoint"`
	Secret   string `json:"Secret" xml:"Secret"`
}

OssUploadToken is a nested struct in cloudauth response

type ResultObject added in v1.61.13

type ResultObject struct {
	VerifyScore  float64 `json:"VerifyScore" xml:"VerifyScore"`
	Result       string  `json:"Result" xml:"Result"`
	DeviceRisk   string  `json:"DeviceRisk" xml:"DeviceRisk"`
	IspName      string  `json:"IspName" xml:"IspName"`
	SubCode      string  `json:"SubCode" xml:"SubCode"`
	DeviceToken  string  `json:"DeviceToken" xml:"DeviceToken"`
	Passed       string  `json:"Passed" xml:"Passed"`
	MaterialInfo string  `json:"MaterialInfo" xml:"MaterialInfo"`
	Score        string  `json:"Score" xml:"Score"`
	Success      string  `json:"Success" xml:"Success"`
	UserInfo     string  `json:"UserInfo" xml:"UserInfo"`
	IdentityInfo string  `json:"IdentityInfo" xml:"IdentityInfo"`
	CertifyId    string  `json:"CertifyId" xml:"CertifyId"`
	CertifyUrl   string  `json:"CertifyUrl" xml:"CertifyUrl"`
	BizCode      string  `json:"BizCode" xml:"BizCode"`
}

ResultObject is a nested struct in cloudauth response

type Smiling

type Smiling struct {
	Value     float64 `json:"Value" xml:"Value"`
	Threshold float64 `json:"Threshold" xml:"Threshold"`
}

Smiling is a nested struct in cloudauth response

type StepList added in v1.61.1494

type StepList struct {
	Step []string `json:"Step" xml:"Step"`
}

StepList is a nested struct in cloudauth response

type VerifyMaterialRequest

type VerifyMaterialRequest struct {
	*requests.RpcRequest
	FaceImageUrl        string `position:"Query" name:"FaceImageUrl"`
	UserId              string `position:"Query" name:"UserId"`
	IdCardBackImageUrl  string `position:"Query" name:"IdCardBackImageUrl"`
	IdCardNumber        string `position:"Query" name:"IdCardNumber"`
	IdCardFrontImageUrl string `position:"Query" name:"IdCardFrontImageUrl"`
	BizType             string `position:"Query" name:"BizType"`
	BizId               string `position:"Query" name:"BizId"`
	Name                string `position:"Query" name:"Name"`
}

VerifyMaterialRequest is the request struct for api VerifyMaterial

func CreateVerifyMaterialRequest

func CreateVerifyMaterialRequest() (request *VerifyMaterialRequest)

CreateVerifyMaterialRequest creates a request to invoke VerifyMaterial API

type VerifyMaterialResponse

type VerifyMaterialResponse struct {
	*responses.BaseResponse
	AuthorityComparisionScore float64                  `json:"AuthorityComparisionScore" xml:"AuthorityComparisionScore"`
	VerifyStatus              int                      `json:"VerifyStatus" xml:"VerifyStatus"`
	RequestId                 string                   `json:"RequestId" xml:"RequestId"`
	VerifyToken               string                   `json:"VerifyToken" xml:"VerifyToken"`
	IdCardFaceComparisonScore float64                  `json:"IdCardFaceComparisonScore" xml:"IdCardFaceComparisonScore"`
	Material                  MaterialInVerifyMaterial `json:"Material" xml:"Material"`
}

VerifyMaterialResponse is the response struct for api VerifyMaterial

func CreateVerifyMaterialResponse

func CreateVerifyMaterialResponse() (response *VerifyMaterialResponse)

CreateVerifyMaterialResponse creates a response to parse from VerifyMaterial response

type VideoUrls

type VideoUrls struct {
	VideoUrl []string `json:"VideoUrl" xml:"VideoUrl"`
}

VideoUrls is a nested struct in cloudauth response

Jump to

Keyboard shortcuts

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