Device Assistant value-added service

Updated at:

Device Assistant is a value-added service for CloudAuth that enhances security. Built into the CloudAuth SDK (including the Web SDK), the Device Assistant module provides device-level risk tags during face verification.

Billing

Device Assistant is a pay-as-you-go service that costs CNY 0.05 per verification. For more information, see Billing Overview.

Integration

Device Assistant is an optional service. To enable it, navigate to the Access scene settings section on the CloudAuth console and turn on the Enhanced Device Detection image switch for your target scenario.

Server-side integration

Ensure your server-side SDK dependency is version 2.1.1 or later. Select an SDK in the language that matches your technology stack.

Language

SDK download

Source code

Java

Download Java SDK

Alibaba Cloud Green SDK for Java

Python

Download Python SDK

Alibaba Cloud Green SDK for Python

TypeScript

Download TypeScript SDK

Alibaba Cloud Green SDK for TypeScript

Go

Download Go SDK

Alibaba Cloud Green SDK for Go

PHP

Download PHP SDK

Alibaba Cloud Green SDK for PHP

C#

Download C# SDK

Alibaba Cloud Green SDK for C#

C++

Download C++ SDK

Alibaba Cloud Green SDK for C++

The following is an example of a Java SDK dependency. The version shown is for reference only; always use the latest dependency version in your project.

<dependency>
 <groupId>com.aliyun</groupId>
 <artifactId>cloudauth20190307</artifactId>
 <version>2.5.0</version>
</dependency>

Client SDK integration

Native SDK

  • SDK version requirements:

    • Use Android SDK version 2.3.4 or later.

    • Use iOS SDK version 2.3.5 or later.

  • Your SDK integration must include the Device Assistant module, which is included in the latest SDK package. The following table lists the module names for the Android and iOS SDKs.

    Client SDK

    Module name

    Android SDK

    Android-AliyunFaceGuard-[version].aar

    iOS SDK

    faceguard.framework

    Note

    For the latest SDK downloads, see the Client SDK Release Notes.

Web SDK

The Web SDK is integrated by default in both PC and H5 solutions, so no additional configuration is required.

Risk tags

Device Assistant reports detected risks as risk tags. For details about each tag, see Device Risk Tags.