Device Assistant value-added service
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
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 | ||
Python | ||
TypeScript | ||
Go | ||
PHP | ||
C# | ||
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
NoteFor 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.