Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) CompareFaceVerify(request *CompareFaceVerifyRequest) (response *CompareFaceVerifyResponse, err error)
- func (client *Client) CompareFaceVerifyWithCallback(request *CompareFaceVerifyRequest, ...) <-chan int
- func (client *Client) CompareFaceVerifyWithChan(request *CompareFaceVerifyRequest) (<-chan *CompareFaceVerifyResponse, <-chan error)
- func (client *Client) CompareFaces(request *CompareFacesRequest) (response *CompareFacesResponse, err error)
- func (client *Client) CompareFacesWithCallback(request *CompareFacesRequest, ...) <-chan int
- func (client *Client) CompareFacesWithChan(request *CompareFacesRequest) (<-chan *CompareFacesResponse, <-chan error)
- func (client *Client) ContrastFaceVerify(request *ContrastFaceVerifyRequest) (response *ContrastFaceVerifyResponse, err error)
- func (client *Client) ContrastFaceVerifyWithCallback(request *ContrastFaceVerifyRequest, ...) <-chan int
- func (client *Client) ContrastFaceVerifyWithChan(request *ContrastFaceVerifyRequest) (<-chan *ContrastFaceVerifyResponse, <-chan error)
- func (client *Client) CreateAuthKey(request *CreateAuthKeyRequest) (response *CreateAuthKeyResponse, err error)
- func (client *Client) CreateAuthKeyWithCallback(request *CreateAuthKeyRequest, ...) <-chan int
- func (client *Client) CreateAuthKeyWithChan(request *CreateAuthKeyRequest) (<-chan *CreateAuthKeyResponse, <-chan error)
- func (client *Client) CreateVerifySetting(request *CreateVerifySettingRequest) (response *CreateVerifySettingResponse, err error)
- func (client *Client) CreateVerifySettingWithCallback(request *CreateVerifySettingRequest, ...) <-chan int
- func (client *Client) CreateVerifySettingWithChan(request *CreateVerifySettingRequest) (<-chan *CreateVerifySettingResponse, <-chan error)
- func (client *Client) DescribeDeviceInfo(request *DescribeDeviceInfoRequest) (response *DescribeDeviceInfoResponse, err error)
- func (client *Client) DescribeDeviceInfoWithCallback(request *DescribeDeviceInfoRequest, ...) <-chan int
- func (client *Client) DescribeDeviceInfoWithChan(request *DescribeDeviceInfoRequest) (<-chan *DescribeDeviceInfoResponse, <-chan error)
- func (client *Client) DescribeFaceVerify(request *DescribeFaceVerifyRequest) (response *DescribeFaceVerifyResponse, err error)
- func (client *Client) DescribeFaceVerifyWithCallback(request *DescribeFaceVerifyRequest, ...) <-chan int
- func (client *Client) DescribeFaceVerifyWithChan(request *DescribeFaceVerifyRequest) (<-chan *DescribeFaceVerifyResponse, <-chan error)
- func (client *Client) DescribeOssUploadToken(request *DescribeOssUploadTokenRequest) (response *DescribeOssUploadTokenResponse, err error)
- func (client *Client) DescribeOssUploadTokenWithCallback(request *DescribeOssUploadTokenRequest, ...) <-chan int
- func (client *Client) DescribeOssUploadTokenWithChan(request *DescribeOssUploadTokenRequest) (<-chan *DescribeOssUploadTokenResponse, <-chan error)
- func (client *Client) DescribeVerifyResult(request *DescribeVerifyResultRequest) (response *DescribeVerifyResultResponse, err error)
- func (client *Client) DescribeVerifyResultWithCallback(request *DescribeVerifyResultRequest, ...) <-chan int
- func (client *Client) DescribeVerifyResultWithChan(request *DescribeVerifyResultRequest) (<-chan *DescribeVerifyResultResponse, <-chan error)
- func (client *Client) DescribeVerifySDK(request *DescribeVerifySDKRequest) (response *DescribeVerifySDKResponse, err error)
- func (client *Client) DescribeVerifySDKWithCallback(request *DescribeVerifySDKRequest, ...) <-chan int
- func (client *Client) DescribeVerifySDKWithChan(request *DescribeVerifySDKRequest) (<-chan *DescribeVerifySDKResponse, <-chan error)
- func (client *Client) DescribeVerifyToken(request *DescribeVerifyTokenRequest) (response *DescribeVerifyTokenResponse, err error)
- func (client *Client) DescribeVerifyTokenWithCallback(request *DescribeVerifyTokenRequest, ...) <-chan int
- func (client *Client) DescribeVerifyTokenWithChan(request *DescribeVerifyTokenRequest) (<-chan *DescribeVerifyTokenResponse, <-chan error)
- func (client *Client) DetectFaceAttributes(request *DetectFaceAttributesRequest) (response *DetectFaceAttributesResponse, err error)
- func (client *Client) DetectFaceAttributesWithCallback(request *DetectFaceAttributesRequest, ...) <-chan int
- func (client *Client) DetectFaceAttributesWithChan(request *DetectFaceAttributesRequest) (<-chan *DetectFaceAttributesResponse, <-chan error)
- func (client *Client) InitFaceVerify(request *InitFaceVerifyRequest) (response *InitFaceVerifyResponse, err error)
- func (client *Client) InitFaceVerifyWithCallback(request *InitFaceVerifyRequest, ...) <-chan int
- func (client *Client) InitFaceVerifyWithChan(request *InitFaceVerifyRequest) (<-chan *InitFaceVerifyResponse, <-chan error)
- func (client *Client) LivenessFaceVerify(request *LivenessFaceVerifyRequest) (response *LivenessFaceVerifyResponse, err error)
- func (client *Client) LivenessFaceVerifyWithCallback(request *LivenessFaceVerifyRequest, ...) <-chan int
- func (client *Client) LivenessFaceVerifyWithChan(request *LivenessFaceVerifyRequest) (<-chan *LivenessFaceVerifyResponse, <-chan error)
- func (client *Client) ModifyDeviceInfo(request *ModifyDeviceInfoRequest) (response *ModifyDeviceInfoResponse, err error)
- func (client *Client) ModifyDeviceInfoWithCallback(request *ModifyDeviceInfoRequest, ...) <-chan int
- func (client *Client) ModifyDeviceInfoWithChan(request *ModifyDeviceInfoRequest) (<-chan *ModifyDeviceInfoResponse, <-chan error)
- func (client *Client) VerifyMaterial(request *VerifyMaterialRequest) (response *VerifyMaterialResponse, err error)
- func (client *Client) VerifyMaterialWithCallback(request *VerifyMaterialRequest, ...) <-chan int
- func (client *Client) VerifyMaterialWithChan(request *VerifyMaterialRequest) (<-chan *VerifyMaterialResponse, <-chan error)
- type CompareFaceVerifyRequest
- type CompareFaceVerifyResponse
- type CompareFacesRequest
- type CompareFacesResponse
- type ContrastFaceVerifyRequest
- type ContrastFaceVerifyResponse
- type CreateAuthKeyRequest
- type CreateAuthKeyResponse
- type CreateVerifySettingRequest
- type CreateVerifySettingResponse
- type Data
- type DescribeDeviceInfoRequest
- type DescribeDeviceInfoResponse
- type DescribeFaceVerifyRequest
- type DescribeFaceVerifyResponse
- type DescribeOssUploadTokenRequest
- type DescribeOssUploadTokenResponse
- type DescribeVerifyResultRequest
- type DescribeVerifyResultResponse
- type DescribeVerifySDKRequest
- type DescribeVerifySDKResponse
- type DescribeVerifyTokenRequest
- type DescribeVerifyTokenResponse
- type DetectFaceAttributesRequest
- type DetectFaceAttributesResponse
- type DeviceInfo
- type DeviceInfoList
- type FaceAttributes
- type FaceAttributesDetectInfo
- type FaceInfos
- type FaceRect
- type Gender
- type Headpose
- type IdCardInfo
- type InitFaceVerifyRequest
- type InitFaceVerifyResponse
- type LivenessFaceVerifyRequest
- type LivenessFaceVerifyResponse
- type Material
- type MaterialInVerifyMaterial
- type ModifyDeviceInfoRequest
- type ModifyDeviceInfoResponse
- type OssUploadToken
- type ResultObject
- type Smiling
- type StepList
- type VerifyMaterialRequest
- type VerifyMaterialResponse
- type VideoUrls
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "central"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
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 ¶
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) 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) 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) 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) 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"` 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 RequestId string `json:"RequestId" xml:"RequestId"` AuthKey string `json:"AuthKey" xml:"AuthKey"` }
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 RequestId string `json:"RequestId" xml:"RequestId"` BizType string `json:"BizType" xml:"BizType"` BizName string `json:"BizName" xml:"BizName"` Solution string `json:"Solution" xml:"Solution"` 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 RequestId string `json:"RequestId" xml:"RequestId"` PageSize int `json:"PageSize" xml:"PageSize"` CurrentPage int `json:"CurrentPage" xml:"CurrentPage"` 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 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 RequestId string `json:"RequestId" xml:"RequestId"` SdkUrl string `json:"SdkUrl" xml:"SdkUrl"` }
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 RequestId string `json:"RequestId" xml:"RequestId"` VerifyPageUrl string `json:"VerifyPageUrl" xml:"VerifyPageUrl"` 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 { DeviceId string `json:"DeviceId" xml:"DeviceId"` UserDeviceId string `json:"UserDeviceId" xml:"UserDeviceId"` BizType string `json:"BizType" xml:"BizType"` BeginDay string `json:"BeginDay" xml:"BeginDay"` ExpiredDay string `json:"ExpiredDay" xml:"ExpiredDay"` }
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 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 ProductCode string `position:"Query" name:"ProductCode"` FaceContrastPicture string `position:"Body" name:"FaceContrastPicture"` UserId string `position:"Query" name:"UserId"` CertifyId string `position:"Query" name:"CertifyId"` 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"` MetaInfo string `position:"Query" name:"MetaInfo"` OssObjectName string `position:"Query" name:"OssObjectName"` CertName string `position:"Query" name:"CertName"` Ip string `position:"Query" name:"Ip"` Mobile string `position:"Query" name:"Mobile"` AuthId string `position:"Body" name:"AuthId"` 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 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 { FaceImageUrl string `json:"FaceImageUrl" xml:"FaceImageUrl"` IdCardName string `json:"IdCardName" xml:"IdCardName"` IdCardNumber string `json:"IdCardNumber" xml:"IdCardNumber"` FaceQuality string `json:"FaceQuality" xml:"FaceQuality"` FaceGlobalUrl string `json:"FaceGlobalUrl" xml:"FaceGlobalUrl"` FaceMask string `json:"FaceMask" xml:"FaceMask"` IdCardInfo IdCardInfo `json:"IdCardInfo" xml:"IdCardInfo"` }
MaterialInVerifyMaterial is a nested struct in cloudauth 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"` DeviceId string `json:"DeviceId" xml:"DeviceId"` UserDeviceId string `json:"UserDeviceId" xml:"UserDeviceId"` BizType string `json:"BizType" xml:"BizType"` BeginDay string `json:"BeginDay" xml:"BeginDay"` ExpiredDay string `json:"ExpiredDay" xml:"ExpiredDay"` }
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"` Bucket string `json:"Bucket" xml:"Bucket"` Path string `json:"Path" xml:"Path"` Token string `json:"Token" xml:"Token"` EndPoint string `json:"EndPoint" xml:"EndPoint"` Expired int64 `json:"Expired" xml:"Expired"` 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"` IdentityInfo string `json:"IdentityInfo" xml:"IdentityInfo"` CertifyId string `json:"CertifyId" xml:"CertifyId"` SubCode string `json:"SubCode" xml:"SubCode"` CertifyUrl string `json:"CertifyUrl" xml:"CertifyUrl"` DeviceToken string `json:"DeviceToken" xml:"DeviceToken"` Passed string `json:"Passed" xml:"Passed"` MaterialInfo string `json:"MaterialInfo" xml:"MaterialInfo"` }
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 RequestId string `json:"RequestId" xml:"RequestId"` VerifyToken string `json:"VerifyToken" xml:"VerifyToken"` VerifyStatus int `json:"VerifyStatus" xml:"VerifyStatus"` AuthorityComparisionScore float64 `json:"AuthorityComparisionScore" xml:"AuthorityComparisionScore"` 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
Source Files ¶
- client.go
- compare_face_verify.go
- compare_faces.go
- contrast_face_verify.go
- create_auth_key.go
- create_verify_setting.go
- describe_device_info.go
- describe_face_verify.go
- describe_oss_upload_token.go
- describe_verify_result.go
- describe_verify_sdk.go
- describe_verify_token.go
- detect_face_attributes.go
- endpoint.go
- init_face_verify.go
- liveness_face_verify.go
- modify_device_info.go
- struct_data.go
- struct_device_info.go
- struct_device_info_list.go
- struct_face_attributes.go
- struct_face_attributes_detect_info.go
- struct_face_infos.go
- struct_face_rect.go
- struct_gender.go
- struct_headpose.go
- struct_id_card_info.go
- struct_material.go
- struct_material_in_verify_material.go
- struct_oss_upload_token.go
- struct_result_object.go
- struct_smiling.go
- struct_step_list.go
- struct_video_urls.go
- verify_material.go